Fix paths in Gradle task descriptionsThese paths was likely not changed during refatoring of Gradle scripts.I make them correspond to actual location of files where their definitions originates.

This commit is contained in:
Andrii Kurdiumov 2019-11-13 02:00:53 +02:00
parent 6bac1a8712
commit cafa4c3414
3 changed files with 4 additions and 4 deletions

View file

@ -95,7 +95,7 @@ rootProject.assembleDistribution {
*****************************************************************************************/ *****************************************************************************************/
task sleighCompile (type: JavaExec) { task sleighCompile (type: JavaExec) {
group = rootProject.GHIDRA_GROUP group = rootProject.GHIDRA_GROUP
description " Compiles all the sleigh languages. [processorUtils.gradle]\n" description " Compiles all the sleigh languages. [gradle/processorProject.gradle]\n"
// define standard parameters for JavaExec // define standard parameters for JavaExec
classpath configurations.sleighConfig classpath configurations.sleighConfig
@ -128,7 +128,7 @@ rootProject.allSleighCompile.dependsOn saveSleighArgs
*****************************************************************************************/ *****************************************************************************************/
task cleanSleigh { task cleanSleigh {
group rootProject.GHIDRA_GROUP group rootProject.GHIDRA_GROUP
description "Removes all the compile sleigh language files (*.sla). [gradle/processProject.gradle]\n" description "Removes all the compile sleigh language files (*.sla). [gradle/processorProject.gradle]\n"
doLast { doLast {
def deleteTree = fileTree(dir: "data/languages", include: "*.sla") def deleteTree = fileTree(dir: "data/languages", include: "*.sla")
deleteTree.each { File file -> deleteTree.each { File file ->

View file

@ -16,7 +16,7 @@
*********************************************************************************/ *********************************************************************************/
task rasterizeSvg(type: JavaExec) { task rasterizeSvg(type: JavaExec) {
group rootProject.GHIDRA_GROUP group rootProject.GHIDRA_GROUP
description " Converts .svg files to .png files. [gradle/root/distribution.gradle]\n" description " Converts .svg files to .png files. [gradle/root/svg.gradle]\n"
subprojects { p -> subprojects { p ->

View file

@ -4,7 +4,7 @@ task zipExtensions (type: Zip) {
def p = this.project def p = this.project
it.group 'private' it.group 'private'
it.description "Creates a zip file for an extension module. [gradle/support/distribution.gradle]" it.description "Creates a zip file for an extension module. [gradle/support/extensionCommon.gradle]"
it.archiveName "${rootProject.ext.ZIP_NAME_PREFIX}_${p.name}.zip" it.archiveName "${rootProject.ext.ZIP_NAME_PREFIX}_${p.name}.zip"
it.destinationDir rootProject.ext.DISTRIBUTION_DIR it.destinationDir rootProject.ext.DISTRIBUTION_DIR