Skip to content

Commit

Permalink
Merge pull request #12 from pavelannin/downgrade_jvm_version
Browse files Browse the repository at this point in the history
downgrade jvm version
  • Loading branch information
lepicekmichal authored Jan 21, 2025
2 parents bad93da + 891acc4 commit c7cef7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ buildscript {
allprojects {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}
}

tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
}
12 changes: 6 additions & 6 deletions signalrkore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ kotlin {

compilations.all {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}
}

jvm {
compilations.all {
kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}

Expand All @@ -41,7 +41,7 @@ kotlin {
}
}

jvmToolchain(17)
jvmToolchain(8)

sourceSets {
applyDefaultHierarchyTemplate()
Expand Down Expand Up @@ -98,8 +98,8 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

namespace = "eu.lepicekmichal.signalrkore"
Expand All @@ -122,4 +122,4 @@ tasks.register<HubCommunicationTask>("HubCommunicationGeneration") {

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
dependsOn += tasks["HubCommunicationGeneration"]
}
}

0 comments on commit c7cef7d

Please sign in to comment.