Skip to content

Commit

Permalink
remove jvm toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
0xZhangKe committed Feb 7, 2024
1 parent 48ba2b3 commit 62f631b
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 119 deletions.
7 changes: 0 additions & 7 deletions compiler/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlin{
jvmToolchain {
implementation = JvmImplementation.VENDOR_SPECIFIC
languageVersion.set(JavaLanguageVersion.of(17))
}
}

dependencies {
implementation(kotlin("reflect"))
implementation(project(":core"))
Expand Down
10 changes: 0 additions & 10 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlin {
target {
jvmToolchain(8)
}
jvmToolchain {
implementation = JvmImplementation.VENDOR_SPECIFIC
languageVersion.set(JavaLanguageVersion.of(17))
}
}

tasks.withType<Jar> { duplicatesStrategy = DuplicatesStrategy.INCLUDE }

dependencies {
Expand Down
79 changes: 0 additions & 79 deletions core/src/test/kotlin/com/zhangke/krouter/KRouterTest.kt

This file was deleted.

4 changes: 0 additions & 4 deletions sample/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ java {
}

kotlin{
jvmToolchain {
implementation = JvmImplementation.VENDOR_SPECIFIC
languageVersion.set(JavaLanguageVersion.of(17))
}
sourceSets.main {
kotlin.srcDir("build/generated/ksp/main/kotlin")
resources.srcDir("build/generated/ksp/main/resources")
Expand Down
4 changes: 0 additions & 4 deletions sample/home/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ java {
}

kotlin {
jvmToolchain {
implementation = JvmImplementation.VENDOR_SPECIFIC
languageVersion.set(JavaLanguageVersion.of(17))
}
sourceSets.main {
kotlin.srcDir("build/generated/ksp/main/kotlin")
resources.srcDir("build/generated/ksp/main/resources")
Expand Down
4 changes: 0 additions & 4 deletions sample/profile/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ java {
}

kotlin {
jvmToolchain {
implementation = JvmImplementation.VENDOR_SPECIFIC
languageVersion.set(JavaLanguageVersion.of(17))
}
sourceSets.main {
kotlin.srcDir("build/generated/ksp/main/kotlin")
resources.srcDir("build/generated/ksp/main/resources")
Expand Down
7 changes: 0 additions & 7 deletions sample/sample-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,3 @@ java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlin{
jvmToolchain {
implementation = JvmImplementation.VENDOR_SPECIFIC
languageVersion.set(JavaLanguageVersion.of(17))
}
}
4 changes: 0 additions & 4 deletions sample/setting/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ java {
}

kotlin {
jvmToolchain {
implementation = JvmImplementation.VENDOR_SPECIFIC
languageVersion.set(JavaLanguageVersion.of(17))
}
sourceSets.main {
kotlin.srcDir("build/generated/ksp/main/kotlin")
resources.srcDir("build/generated/ksp/main/resources")
Expand Down

0 comments on commit 62f631b

Please sign in to comment.