File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,10 @@ subprojects { subproject ->
44
44
subproject. apply plugin : " io.spring.javaformat"
45
45
subproject. apply plugin : " checkstyle"
46
46
47
- sourceCompatibility = 17
48
- targetCompatibility = 17
47
+ java {
48
+ sourceCompatibility = 17
49
+ targetCompatibility = 17
50
+ }
49
51
50
52
configurations {
51
53
internal {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ task jmustacheRepackJar(type: Jar) { repackJar ->
22
22
project. ant {
23
23
taskdef name : " jarjar" , classname : " com.tonicsystems.jarjar.JarJarTask" ,
24
24
classpath : configurations. jarjar. asPath
25
- jarjar(destfile : repackJar. archivePath ) {
25
+ jarjar(destfile : repackJar. archiveFile . get() ) {
26
26
configurations. jmustache. each { originalJar ->
27
27
zipfileset(src : originalJar, includes : " **/*.class" )
28
28
}
@@ -70,7 +70,7 @@ dependencies {
70
70
71
71
jar {
72
72
dependsOn jmustacheRepackJar
73
- from(zipTree(jmustacheRepackJar. archivePath )) {
73
+ from(zipTree(jmustacheRepackJar. archiveFile . get() )) {
74
74
include " org/springframework/restdocs/**"
75
75
}
76
76
}
You can’t perform that action at this time.
0 commit comments