gradle: Bootstrap plugin

This commit is contained in:
Owain van Brakel
2019-11-02 04:34:45 +01:00
parent ddae743f48
commit bb179f07c7
9 changed files with 255 additions and 13 deletions

View File

@@ -26,12 +26,10 @@ open class FernflowerTask: DefaultTask() {
@InputFile
@PathSensitive(PathSensitivity.ABSOLUTE)
var getInputJar = project.file(inputJar ?: project.buildDir.toString() + "/libs/" + project.name + '-'
+ project.version + ".jar")
var getInputJar = project.file(inputJar ?: "${project.buildDir}/libs/${project.name}-${project.version}.jar")
@OutputDirectory
@PathSensitive(PathSensitivity.ABSOLUTE)
var getOutputDir = project.file(outputDir ?: project.buildDir.toString() + "/decompiled-sources")
var getOutputDir = project.file(outputDir ?: "${project.buildDir}/decompiled-sources")
@TaskAction