diff --git a/build.gradle b/build.gradle index 427025f4ef..e2d5b67639 100644 --- a/build.gradle +++ b/build.gradle @@ -38,16 +38,7 @@ allprojects{ } getArcHash = { - //get latest commit hash from github since JITPack's '-snapshot' version doesn't work correctly - 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 + return new Properties().with{ p -> p.load(new File(projectDir, 'gradle.properties'))}["archash"] } arcModule = { String name -> diff --git a/gradle.properties b/gradle.properties index 7e937afc9e..be6e2d6e7e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,3 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m -#TODO set to true on release; see if it fixes things: -#android.enableD8.desugaring=false \ No newline at end of file +archash=2a036f76037ef21885230f6df30068a646fc3a0a