File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,11 +15,6 @@ version = providers.gradleProperty("VERSION_NAME").get()
1515group = providers.gradleProperty(" GROUP" ).get()
1616description = providers.gradleProperty(" POM_DESCRIPTION" ).get()
1717
18- java {
19- sourceCompatibility = JavaVersion .VERSION_1_8
20- targetCompatibility = JavaVersion .VERSION_1_8
21- }
22-
2318gradlePlugin {
2419 website = providers.gradleProperty(" POM_URL" )
2520 vcsUrl = providers.gradleProperty(" POM_URL" )
@@ -93,6 +88,14 @@ dependencies {
9388 testImplementation(" org.junit.platform:junit-platform-suite-engine" )
9489}
9590
91+ tasks.withType<GroovyCompile >().configureEach {
92+ options.release = 8
93+ }
94+
95+ tasks.withType<JavaCompile >().configureEach {
96+ options.release = 8
97+ }
98+
9699tasks.withType<Test >().configureEach {
97100 useJUnitPlatform()
98101
You can’t perform that action at this time.
0 commit comments