Skip to content

Commit

Permalink
Build: Use configuration cache
Browse files Browse the repository at this point in the history
This is only useful during development, but here it saves up to 10s per build
  • Loading branch information
mar-v-in committed Jun 3, 2024
1 parent 702b89a commit 4d644fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,8 @@ buildscript {
}
}

def execResult(...args) {
def stdout = new ByteArrayOutputStream()
exec {
commandLine args
standardOutput = stdout
}
return stdout.toString()
def execResult(... args) {
providers.exec { commandLine args }.standardOutput.asText.get()
}

def gmsVersion = "24.09.13"
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
android.useAndroidX=true
org.gradle.configuration-cache=true
org.gradle.jvmargs=-Xmx2048m -XX:+UseParallelGC --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED

0 comments on commit 4d644fb

Please sign in to comment.