problem: build failure on clean project
This commit is contained in:
@@ -173,6 +173,7 @@ task generateVersion() {
|
|||||||
doLast {
|
doLast {
|
||||||
def version = versionDetails()
|
def version = versionDetails()
|
||||||
def resourcesDir = sourceSets.main.output.resourcesDir
|
def resourcesDir = sourceSets.main.output.resourcesDir
|
||||||
|
resourcesDir.mkdirs()
|
||||||
new File(resourcesDir, "version.properties").text = [
|
new File(resourcesDir, "version.properties").text = [
|
||||||
"# AUTOMATICALLY GENERATED",
|
"# AUTOMATICALLY GENERATED",
|
||||||
"version.app=$project.version",
|
"version.app=$project.version",
|
||||||
|
|||||||
Reference in New Issue
Block a user