Skip to content

Commit

Permalink
Bump JDK version to 11
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzo committed Nov 17, 2023
1 parent cec97f6 commit ea539e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo-project/kts-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
id("com.github.gmazzo.buildconfig")
}

java.toolchain.languageVersion.set(JavaLanguageVersion.of(11))
java.toolchain.languageVersion.set(JavaLanguageVersion.of(libs.versions.java.get()))

android {
namespace = "com.github.gmazzo.buildconfig.demos.android"
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[versions]
java = "11"
kotlin = "1.9.20"

[libraries]
Expand Down
2 changes: 1 addition & 1 deletion plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ version = providers
.exec { commandLine("git", "describe", "--tags", "--always") }
.standardOutput.asText.get().trim().removePrefix("v")

java.toolchain.languageVersion.set(JavaLanguageVersion.of(8))
java.toolchain.languageVersion.set(JavaLanguageVersion.of(libs.versions.java.get()))

dependencies {
fun DependencyHandler.plugin(dependency: Provider<PluginDependency>) =
Expand Down

0 comments on commit ea539e1

Please sign in to comment.