File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,16 @@ allprojects { project ->
11
11
mavenCentral()
12
12
}
13
13
14
+ plugins. withType(JavaBasePlugin ) {
15
+ sourceCompatibility = JavaVersion . VERSION_1_8
16
+ targetCompatibility = JavaVersion . VERSION_1_8
17
+ }
18
+
14
19
plugins. withType(MavenPublishPlugin ) {
15
20
project. plugins. apply ' signing'
16
21
17
22
plugins. withType(JavaPlugin ) {
18
23
java {
19
- tasks. withType(JavaCompile ) {
20
- options. release = 8
21
- }
22
24
withJavadocJar()
23
25
withSourcesJar()
24
26
}
Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ plugins {
4
4
id ' maven-publish'
5
5
}
6
6
7
- java {
8
- withJavadocJar()
9
- withSourcesJar()
10
- }
11
-
12
7
dependencies {
13
8
compileOnly platform(' org.codehaus.groovy:groovy-bom:3.0.7' )
14
9
compileOnly platform(' org.spockframework:spock-bom:2.0-M4-groovy-3.0' )
You can’t perform that action at this time.
0 commit comments