File tree Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ android {
83
83
}
84
84
85
85
androidResources {
86
- generateLocaleConfig true
86
+ generateLocaleConfig true
87
87
}
88
88
89
89
packagingOptions {
@@ -162,3 +162,16 @@ dependencies {
162
162
testImplementation ' org.mockito:mockito-core:5.18.0'
163
163
testImplementation ' org.robolectric:robolectric:4.15.1'
164
164
}
165
+
166
+ // Run the compiler as a separate process
167
+ tasks. withType(JavaCompile ). configureEach {
168
+ options. fork = true
169
+
170
+ // Enable Incremental Compilation
171
+ options. incremental = true
172
+ }
173
+
174
+ tasks. withType(Test ). configureEach {
175
+ // Run tests in parallel
176
+ maxParallelForks = Runtime . runtime. availableProcessors(). intdiv(2 ) ?: 1
177
+ }
Original file line number Diff line number Diff line change 2
2
# SPDX-FileCopyrightText: 2015-2024 Stefan Niedermann <[email protected] >
3
3
# SPDX-FileCopyrightText: 2024 Andy Scherzinger <[email protected] >
4
4
# SPDX-License-Identifier: GPL-3.0-or-later
5
- org.gradle.jvmargs =-Xmx4096m -Dfile.encoding=UTF-8
6
- org.gradle.dependency.verification.console =verbose
7
- org.gradle.configuration-cache =true
8
5
android.useAndroidX =true
6
+ org.gradle.jvmargs =-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g
7
+ org.gradle.dependency.verification.console =verbose
8
+ kotlin.daemon.jvmargs =-Xmx6144m -XX:+UseParallelGC
9
+ org.gradle.caching =true
10
+ org.gradle.parallel =true
11
+ org.gradle.configureondemand =true
12
+ kapt.incremental.apt =true
13
+ org.gradle.daemon =true
14
+ org.gradle.configuration-cache =true
Original file line number Diff line number Diff line change 3
3
<configuration>
4
4
<verify-metadata>true</verify-metadata>
5
5
<verify-signatures>true</verify-signatures>
6
+ <keyring-format>armored</keyring-format>
6
7
<trusted-artifacts>
7
8
<trust group="com.android.tools.build" name="aapt2" version="8.4.1-11315950" reason="ships OS specific artifacts (win/linux) - temp global trust"/>
8
9
<trust file=".*-javadoc[.]jar" regex="true" reason="Android Studio downloads javadoc jars but doesn't add checksums - fixes building in AS"/>
You can’t perform that action at this time.
0 commit comments