forked from upstream-mirrors/OpenTracks
fix gradle
This commit is contained in:
+2
-2
@@ -18,11 +18,11 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def getVersionName = { ->
|
def getVersionName = { ->
|
||||||
return 'git describe --tags'.execute().text.trim()
|
return 'git describe --tags'.execute(null, project.rootDir).text.trim()
|
||||||
}
|
}
|
||||||
|
|
||||||
def getVersionCodeNightly = { ->
|
def getVersionCodeNightly = { ->
|
||||||
return Integer.valueOf('git rev-list HEAD --count'.execute().text.trim())
|
return Integer.valueOf('git rev-list HEAD --count'.execute(null, project.rootDir).text.trim())
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|||||||
Reference in New Issue
Block a user