Skip to content

Commit a7c0b0c

Browse files
committed
Revert "Pin JDK release for AbstractCompile on 8"
This reverts commit 09dab0a.
1 parent 85b17cf commit a7c0b0c

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

build.gradle.kts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ version = providers.gradleProperty("VERSION_NAME").get()
1515
group = providers.gradleProperty("GROUP").get()
1616
description = providers.gradleProperty("POM_DESCRIPTION").get()
1717

18+
java {
19+
sourceCompatibility = JavaVersion.VERSION_1_8
20+
targetCompatibility = JavaVersion.VERSION_1_8
21+
}
22+
1823
gradlePlugin {
1924
website = providers.gradleProperty("POM_URL")
2025
vcsUrl = providers.gradleProperty("POM_URL")
@@ -88,14 +93,6 @@ dependencies {
8893
testImplementation("org.junit.platform:junit-platform-suite-engine")
8994
}
9095

91-
tasks.withType<GroovyCompile>().configureEach {
92-
options.release = 8
93-
}
94-
95-
tasks.withType<JavaCompile>().configureEach {
96-
options.release = 8
97-
}
98-
9996
tasks.withType<Test>().configureEach {
10097
useJUnitPlatform()
10198

0 commit comments

Comments
 (0)