Testing arc hash script

This commit is contained in:
Anuken
2019-09-13 13:03:02 -04:00
parent 066e4380e1
commit 19c76fc741
2 changed files with 2 additions and 12 deletions

View File

@@ -38,16 +38,7 @@ allprojects{
} }
getArcHash = { getArcHash = {
//get latest commit hash from github since JITPack's '-snapshot' version doesn't work correctly return new Properties().with{ p -> p.load(new File(projectDir, 'gradle.properties'))}["archash"]
if(arcHash == null){
try{
arcHash = 'git ls-remote https://github.com/Anuken/Arc.git'.execute().text.split("\t")[0]
}catch(e){
e.printStackTrace()
arcHash = "-SNAPSHOT"
}
}
return arcHash
} }
arcModule = { String name -> arcModule = { String name ->

View File

@@ -1,4 +1,3 @@
org.gradle.daemon=true org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m org.gradle.jvmargs=-Xms256m -Xmx1024m
#TODO set to true on release; see if it fixes things: archash=2a036f76037ef21885230f6df30068a646fc3a0a
#android.enableD8.desugaring=false