-
-
Notifications
You must be signed in to change notification settings - Fork 259
Expand file tree
/
Copy pathgradle.properties
More file actions
48 lines (42 loc) · 2.28 KB
/
Copy pathgradle.properties
File metadata and controls
48 lines (42 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## 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.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# 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
#Wed Jan 13 21:14:07 GMT 2021
android.enableJetifier=true
android.nonFinalResIds=false
android.nonTransitiveRClass=false
android.useAndroidX=true
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
# The flags below opt out of behaviour changes introduced in AGP 9. Each one is
# here for a reason - see the comment above it before removing.
# :app and :app-foss both declare the namespace "io.github.sds100.keymapper".
# AGP 9 rejects duplicate namespaces within a build, so this stays until one of
# the two application modules is given a namespace of its own.
android.uniquePackageNames=false
# AGP 9 disallows <uses-sdk> in AndroidManifest.xml, but several manifests need
# it for tools:overrideLibrary:
# - app/ and foss/app/ override :sysbridge and :evdev, which are minSdk 29
# while the apps are minSdk 26
# - foss/base/ (main and test) overrides the Shizuku AARs
# Removing this requires dropping those modules to minSdk 26 and gating the
# newer APIs in code; the Shizuku override cannot be removed that way.
android.usesSdkInManifest.disallowed=false
# We apply the Kotlin Gradle Plugin explicitly in every module, so AGP's
# built-in Kotlin support must stay off to avoid the two competing.
android.builtInKotlin=false
# All build scripts use the pre-AGP 9 DSL.
android.newDsl=false
# Both application modules ship minified and resource-shrunk release builds.
# The R8 behaviour changes in AGP 9 have not been validated against our
# ProGuard rules yet - remove these one at a time and smoke-test a release APK.
android.r8.strictFullModeForKeepRules=false
android.r8.optimizedResourceShrinking=false