mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-14 05:47:33 +01:00
Use string template
This commit is contained in:
parent
8828ab53b7
commit
caa57b4d55
@ -98,7 +98,7 @@ if (!('release' in gradle.startParameter.taskNames)) {
|
|||||||
project.ext.set("hash", hash)
|
project.ext.set("hash", hash)
|
||||||
project.ext.set("apktool_version", version + "-" + hash + "-SNAPSHOT")
|
project.ext.set("apktool_version", version + "-" + hash + "-SNAPSHOT")
|
||||||
mavenVersion = version + "-SNAPSHOT"
|
mavenVersion = version + "-SNAPSHOT"
|
||||||
println "Building SNAPSHOT (" + getCheckedOutBranch() + "): " + hash
|
println "Building SNAPSHOT (${getCheckedOutBranch()}): $hash"
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
project.ext.set("hash", "")
|
project.ext.set("hash", "")
|
||||||
@ -108,7 +108,7 @@ if (!('release' in gradle.startParameter.taskNames)) {
|
|||||||
project.ext.set("apktool_version", version)
|
project.ext.set("apktool_version", version)
|
||||||
}
|
}
|
||||||
mavenVersion = version
|
mavenVersion = version
|
||||||
println "Building RELEASE (" + getCheckedOutBranch() + "): " + project.ext.apktool_version
|
println "Building RELEASE (${getCheckedOutBranch()}): $project.ext.apktool_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
build.doFirst {
|
build.doFirst {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user