Skip to content

Commit b482fa0

Browse files
committed
gradle
1 parent 0aa2c6c commit b482fa0

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ buildscript {
1212
mavenCentral()
1313
gradlePluginPortal()
1414
}
15+
16+
dependencies {
17+
classpath(libs.r8)
18+
}
1519
}
1620

1721
plugins {

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
android.enableJetifier=false
2-
android.enableR8.fullMode=true
2+
# keep stack traces readable
3+
android.enableR8.fullMode=false
34
android.enableResourceOptimizations=false
45
android.useAndroidX=true
56
kotlin.code.style=official

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ libsu = "6.0.0"
1515
performanceUnsafe = "1.0.0-alpha01"
1616
preference = "1.2.1"
1717
xposed = "82"
18+
r8 = "9.1.31"
1819

1920
[libraries]
2021
android-desugarJdkLibs = { module = "com.android.tools:desugar_jdk_libs", version.ref = "androidDesugarJdkLibs" }
@@ -35,6 +36,7 @@ kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin" }
3536
kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8" }
3637
kotlinx-coroutines-guava = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-guava", version.ref = "kotlinxCoroutinesGuava" }
3738
libsu-core = { module = "com.github.topjohnwu.libsu:core", version.ref = "libsu" }
39+
r8 = { module = "com.android.tools:r8", version.ref = "r8" }
3840
xposed-api = { module = "de.robv.android.xposed:api", version.ref = "xposed" }
3941

4042
[plugins]

0 commit comments

Comments
 (0)