Skip to content

Commit d705430

Browse files
authored
Merge branch 'LawnchairLauncher:16-dev' into trunk
2 parents 3635861 + e4483eb commit d705430

File tree

4 files changed

+7
-22
lines changed

4 files changed

+7
-22
lines changed

build.gradle

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ allprojects {
5757
generateProtoTasks {
5858
all().configureEach { task ->
5959
task.builtins {
60-
remove java
6160
java {
6261
option "lite"
6362
}
@@ -84,15 +83,6 @@ allprojects {
8483
}
8584
}
8685

87-
configurations.configureEach {
88-
resolutionStrategy.eachDependency {
89-
// Fix duplicate class kotlinx.android.parcel.* found in these 2 dependencies.
90-
if (requested.module == libs.kotlin.androidExtensionRuntime.get().module) {
91-
useTarget(libs.kotlin.parcelizeRuntime)
92-
}
93-
}
94-
}
95-
9686
ext {
9787
FRAMEWORK_PREBUILTS_DIR = "$rootDir/prebuilts/libs"
9888

@@ -448,7 +438,7 @@ spotless {
448438
}
449439
kotlin {
450440
target("lawnchair/src/**/*.kt")
451-
ktlint("1.8.0").customRuleSets([
441+
ktlint(libs.ktlint.get().version).customRuleSets([
452442
libs.composeRules.get().toString()
453443
]).editorConfigOverride([
454444
"ktlint_compose_compositionlocal-allowlist": "disabled",

gradle.properties

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
# Improve build performance by enabling R8 parallelism.
2-
android.r8.maxWorkers=4
3-
41
kotlin.code.style=official
52

63
org.gradle.caching=true
7-
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8 -XX:+UseParallelGC
4+
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
85
org.gradle.parallel=true
96
org.gradle.configuration-cache=true
107
org.gradle.configuration-cache.parallel=true
118

12-
# Lawnchair-TODO(Cleanup): Remove these flags once all configuration and plugins support DSL
9+
# TODO: https://github.com/LawnchairLauncher/lawnchair/pull/6277
1310
android.newDsl=false

gradle/libs.versions.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ refine = "4.4.0"
1616
guava = "33.5.0-android"
1717
junitVersion = "4.13.2"
1818
mockito = "5.21.0"
19-
mockitoKotlin = "5.4.0"
19+
mockitoKotlin = "6.2.3"
2020
truth = "1.4.5"
2121
testRules = "1.7.0"
2222
testRunner = "1.7.0"
@@ -108,10 +108,6 @@ room-compiler = { group = "androidx.room", name = "room-compiler", version.ref =
108108
room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "androidx-room" }
109109
room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "androidx-room" }
110110

111-
# Kotlin
112-
kotlin-androidExtensionRuntime = { module = "org.jetbrains.kotlin:kotlin-android-extensions-runtime", version.ref = "kotlin" }
113-
kotlin-parcelizeRuntime = { module = "org.jetbrains.kotlin:kotlin-parcelize-runtime", version.ref = "kotlin" }
114-
kotlin-stdlib-jdk7 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk7", version.ref = "kotlin" }
115111
# KotlinX
116112
kotlinx-coroutines-android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2"
117113
kotlinx-coroutines-test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.2"
@@ -143,6 +139,8 @@ rikka-refine-runtime = { group = "dev.rikka.tools.refine", name = "runtime", ver
143139
smartspacer-sdk = "com.kieronquinn.smartspacer:sdk-client:1.1.2"
144140
xdrop-fuzzywuzzy = "me.xdrop:fuzzywuzzy:1.4.0"
145141
errorprone-annotations = "com.google.errorprone:error_prone_annotations:2.46.0"
142+
# Dummy to get renovate updates, the version is used in rootProject build.gradle with spotless.
143+
ktlint = "com.pinterest.ktlint:ktlint-cli:1.8.0"
146144
composeRules = "io.nlopez.compose.rules:ktlint:0.5.3"
147145
google-guava = { group = "com.google.guava", name = "guava", version.ref = "guava" }
148146

0 commit comments

Comments
 (0)