Skip to content

Commit 278d6de

Browse files
committed
Use jdk 8 toolchain & add plugins to version catalog
1 parent 291bd5b commit 278d6de

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
`kotlin-dsl`
33
`maven-publish`
4-
id("com.gradle.plugin-publish") version "1.2.1"
4+
alias(libs.plugins.gradle.plugin.publish)
55
}
66

77
dependencies {
@@ -19,7 +19,7 @@ tasks.withType<JavaCompile>().configureEach {
1919

2020
kotlin {
2121
jvmToolchain {
22-
languageVersion = JavaLanguageVersion.of(17)
22+
languageVersion = JavaLanguageVersion.of(8)
2323
}
2424
target {
2525
compilations.configureEach {

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[plugins]
2+
gradle-plugin-publish = { id = "com.gradle.plugin-publish", version = "1.2.1" }
3+
14
[versions]
25
indra = "3.1.3"
36
gradleErrorprone = "3.1.0"

0 commit comments

Comments
 (0)