From 19c76fc741c87d0781675b3eda44d4b27638c62e Mon Sep 17 00:00:00 2001 From: Anuken Date: Fri, 13 Sep 2019 13:03:02 -0400 Subject: [PATCH] Testing arc hash script --- build.gradle | 11 +---------- gradle.properties | 3 +-- 2 files changed, 2 insertions(+), 12 deletions(-) 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