fix gradle

This commit is contained in:
Kilian Lackhove
2026-04-11 15:33:55 +02:00
parent df121b40d7
commit e1e34452ae
+2 -2
View File
@@ -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 {