File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -84,24 +84,25 @@ java {
84
84
85
85
tasks.withType<Jar >().configureEach {
86
86
manifest.attributes(
87
- " Implementation-Title" to project.name,
88
- " Implementation-Vendor" to metadata.organization!! .name.get(),
89
- " Implementation-Version" to project.version)
87
+ " Implementation-Title" to project.name,
88
+ " Implementation-Vendor" to metadata.organization!! .name.get(),
89
+ " Implementation-Version" to project.version
90
+ )
90
91
}
91
92
92
93
tasks.javadoc {
93
94
title = " ${metadata.readableName.get()} ${project.version} API"
94
95
95
96
doLast { // javadoc search fix for jdk 11 https://bugs.openjdk.java.net/browse/JDK-8215291
96
97
copy {
97
- from(" $buildDir /docs/javadoc /search.js" )
98
- into(" $buildDir /tmp/javadoc/ " )
98
+ from(" $destinationDir /search.js" )
99
+ into(temporaryDir )
99
100
filter { line -> line.replace(" if (ui.item.p == item.l) {" , " if (item.m && ui.item.p == item.l) {" ) }
100
101
}
101
- delete(" $buildDir /docs/javadoc /search.js" )
102
+ delete(" $destinationDir /search.js" )
102
103
copy {
103
- from(" $buildDir /tmp/javadoc /search.js" )
104
- into(" $buildDir /docs/javadoc/ " )
104
+ from(" $temporaryDir /search.js" )
105
+ into(destinationDir !! )
105
106
}
106
107
}
107
108
}
You can’t perform that action at this time.
0 commit comments