code style fixes in build.gradle
This commit is contained in:
parent
d37b7139c6
commit
5797e1bf4d
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ def computeVersionName = { ->
|
||||||
String lastTag = execThing('git describe --tags --abbrev=0')
|
String lastTag = execThing('git describe --tags --abbrev=0')
|
||||||
|
|
||||||
String gitLogResult = execThing("git log $lastTag..HEAD --oneline")
|
String gitLogResult = execThing("git log $lastTag..HEAD --oneline")
|
||||||
String commitsSinceLastTag = gitLogResult.equals('') ? "0" : gitLogResult.split('\n').size();
|
String commitsSinceLastTag = gitLogResult == '' ? "0" : gitLogResult.split('\n').size()
|
||||||
|
|
||||||
String currentHash = execThing('git log -1 --format=%h')
|
String currentHash = execThing('git log -1 --format=%h')
|
||||||
|
|
||||||
|
|
@ -110,7 +110,7 @@ task validateDictionaries {
|
||||||
inputs.dir fileTree(dir:'assets', excludes:['dict.properties'])
|
inputs.dir fileTree(dir:'assets', excludes:['dict.properties'])
|
||||||
outputs.file "t9build.properties"
|
outputs.file "t9build.properties"
|
||||||
doLast {
|
doLast {
|
||||||
String errors = "";
|
String errors = ""
|
||||||
|
|
||||||
inputs.getFiles().each {File file ->
|
inputs.getFiles().each {File file ->
|
||||||
println "Validating dictionary: " + file.name
|
println "Validating dictionary: " + file.name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue