Remove deprecated Gradle features

This commit is contained in:
Anton Kochkov
2021-10-22 19:05:09 +08:00
parent 91c07fd933
commit 0a81592c23
10 changed files with 14 additions and 16 deletions

View File

@@ -81,7 +81,7 @@ task indexHelp(type: JavaExec) {
classpath = sourceSets.helpIndex.runtimeClasspath
main = 'com.sun.java.help.search.Indexer'
mainClass = 'com.sun.java.help.search.Indexer'
// tell the indexer where send its output
args '-db', outputFile.absolutePath
@@ -131,7 +131,7 @@ task buildHelp(type: JavaExec, dependsOn: indexHelp) {
inputs.dir helpRootDir
outputs.dir outputDir
main = 'help.GHelpBuilder'
mainClass = 'help.GHelpBuilder'
args '-n', "${project.name}" // use the module's name for the help file name
@@ -169,7 +169,7 @@ task findUnusedHelp(type: JavaExec) {
inputs.dir helpRootDir
main = 'help.validator.UnusedHelpImageFileFinder'
mainClass = 'help.validator.UnusedHelpImageFileFinder'
// args '-debug' // print debug info