File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 82
82
withSourcesJar()
83
83
}
84
84
85
- tasks.withType<Jar >().configureEach {
85
+ tasks.withType<Jar > {
86
86
manifest.attributes(
87
87
" Implementation-Title" to project.name,
88
88
" Implementation-Vendor" to metadata.organization!! .name.get(),
@@ -95,13 +95,13 @@ tasks.javadoc {
95
95
96
96
doLast { // javadoc search fix for jdk 11 https://bugs.openjdk.java.net/browse/JDK-8215291
97
97
copy {
98
- from(" $ destinationDir/ search.js" )
98
+ from(destinationDir!! .resolve( " search.js" ) )
99
99
into(temporaryDir)
100
100
filter { line -> line.replace(" if (ui.item.p == item.l) {" , " if (item.m && ui.item.p == item.l) {" ) }
101
101
}
102
- delete(" $ destinationDir/ search.js" )
102
+ delete(destinationDir!! .resolve( " search.js" ) )
103
103
copy {
104
- from(" $ temporaryDir/ search.js" )
104
+ from(temporaryDir.resolve( " search.js" ) )
105
105
into(destinationDir!! )
106
106
}
107
107
}
@@ -135,6 +135,6 @@ nexusPublishing {
135
135
/* ******************** checks ******************** */
136
136
137
137
license {
138
- header = file( " $projectDir / HEADER" )
138
+ header = projectDir.resolve( " HEADER" )
139
139
mapping(" java" , " SLASHSTAR_STYLE" )
140
140
}
You can’t perform that action at this time.
0 commit comments