diff options
author | Stefan Niedermann <info@niedermann.it> | 2024-01-19 21:30:29 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2024-01-19 21:30:29 +0300 |
commit | d244d8a4b7fec6d9496d146eb739628bea3b7656 (patch) | |
tree | a4f82af7161485b4c38a56ad383e57754e3ef501 | |
parent | 53c5d5bcfef1822cea36f1db955310c41cb93230 (diff) |
chore: Clean up gradle.properties
Signed-off-by: Stefan Niedermann <info@niedermann.it>
-rw-r--r-- | .github/workflows/android.yml | 6 | ||||
-rw-r--r-- | gradle.properties | 18 |
2 files changed, 5 insertions, 19 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 0b2d4d282..b614b0512 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Lint - run: bash ./gradlew lintDebug --stacktrace + run: bash ./gradlew lintDebug --stacktrace --no-configuration-cache test: name: Unit tests @@ -31,7 +31,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Unit tests - run: bash ./gradlew test --stacktrace + run: bash ./gradlew test --stacktrace --no-configuration-cache apk: name: Generate APK @@ -40,7 +40,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Build debug APK - run: bash ./gradlew assembleDev + run: bash ./gradlew assembleDev --no-configuration-cache - name: Upload APK uses: actions/upload-artifact@v4 with: diff --git a/gradle.properties b/gradle.properties index e507891ec..4e8e44e95 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,17 +1,3 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -android.defaults.buildfeatures.buildconfig=true -android.nonFinalResIds=false -android.nonTransitiveRClass=false +org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8 +org.gradle.configuration-cache=true android.useAndroidX=true -org.gradle.jvmargs=-Xmx4096m -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true |