Skip to content

Commit

Permalink
revert ksp plugin to jvm only (#2640)
Browse files Browse the repository at this point in the history
  • Loading branch information
i-walker committed Jan 16, 2022
1 parent 099f86f commit 01c7e1a
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions arrow-libs/optics/arrow-optics-ksp-plugin/build.gradle.kts
@@ -1,5 +1,5 @@
plugins {
id(libs.plugins.kotlin.multiplatform.get().pluginId)
id(libs.plugins.kotlin.jvm.get().pluginId)
alias(libs.plugins.arrowGradleConfig.kotlin)
alias(libs.plugins.arrowGradleConfig.publish)
}
Expand All @@ -11,27 +11,27 @@ kotlin {
apply(from = property("TEST_COVERAGE"))
apply(from = property("ANIMALSNIFFER_MPP"))

kotlin {
sourceSets {
jvmMain {
dependencies {
implementation(libs.ksp)
}
}
jvmTest {
dependencies {
implementation(libs.kotlin.stdlibJDK8)
implementation(libs.junitJupiter)
implementation(libs.junitJupiterEngine)
implementation(libs.assertj)
implementation(libs.classgraph)
implementation(libs.kotlinCompileTesting)
implementation(libs.kotlinCompileTestingKsp)
runtimeOnly(projects.arrowOpticsKspPlugin)
runtimeOnly(projects.arrowAnnotations)
runtimeOnly(projects.arrowCore)
runtimeOnly(projects.arrowOptics)
}
}
dependencies {
implementation(libs.ksp)

testImplementation(libs.kotlin.stdlibJDK8)
testImplementation(libs.junitJupiter)
testImplementation(libs.junitJupiterEngine)
testImplementation(libs.assertj)
testImplementation(libs.classgraph)
testImplementation(libs.kotlinCompileTesting) {
exclude(
group = libs.classgraph.get().module.group,
module = libs.classgraph.get().module.name
)
exclude(
group = libs.kotlin.stdlibJDK8.get().module.group,
module = libs.kotlin.stdlibJDK8.get().module.name
)
}
testImplementation(libs.kotlinCompileTestingKsp)
testRuntimeOnly(projects.arrowOpticsKspPlugin)
testRuntimeOnly(projects.arrowAnnotations)
testRuntimeOnly(projects.arrowCore)
testRuntimeOnly(projects.arrowOptics)
}

0 comments on commit 01c7e1a

Please sign in to comment.