Skip to content

Commit

Permalink
Update JVM targets that were missed in previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-udy committed Nov 15, 2024
1 parent 1b80ce2 commit f55f145
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 7 additions & 1 deletion enro-lint/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
id("java-library")
id("kotlin")
Expand All @@ -16,4 +18,8 @@ java {
attributes("Lint-Registry-v2" to "dev.enro.lint.EnroIssueRegistry")
}
}

kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
}
}
8 changes: 8 additions & 0 deletions enro-processor/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
id("java-library")
id("kotlin")
Expand Down Expand Up @@ -30,4 +32,10 @@ afterEvaluate {
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
}
}

0 comments on commit f55f145

Please sign in to comment.