Skip to content

Commit 13927c9

Browse files
authored
Merge branch 'develop' into fix/show-cell-file-name
2 parents 03bcb2a + 8b85b1c commit 13927c9

File tree

6 files changed

+17
-5
lines changed

6 files changed

+17
-5
lines changed

benchmark/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ plugins {
2323
android {
2424
defaultConfig {
2525
minSdk = 23
26-
compileSdk = 34
26+
compileSdk = 35
2727
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2828
}
2929

build-logic/plugins/src/main/kotlin/AndroidCoordinates.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import java.io.File
2020

2121
object AndroidSdk {
2222
const val min = 26
23-
const val compile = 34
23+
const val compile = 35
2424
const val target = compile
2525
}
2626

build-logic/plugins/src/main/kotlin/com/wire/android/gradle/KotlinAndroidConfiguration.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import org.gradle.kotlin.dsl.withType
2929
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3030
import versionCatalog
3131
import findLibrary
32+
import org.gradle.api.tasks.JavaExec
3233
import org.gradle.jvm.toolchain.JavaLanguageVersion
3334
import org.jetbrains.kotlin.gradle.dsl.KotlinBaseExtension
3435

@@ -105,6 +106,13 @@ private fun CommonExtension<*, *, *, *, *, *>.configureLint(project: Project) {
105106
baseline = project.file("lint-baseline.xml")
106107
}
107108

109+
// Configure lint heap size for CI environments
110+
project.tasks.withType(JavaExec::class.java).configureEach {
111+
if (name.contains("lint", ignoreCase = true)) {
112+
jvmArgs("-Xmx6g", "-XX:+UseParallelGC", "-XX:MaxMetaspaceSize=1g")
113+
}
114+
}
115+
108116
with(project) {
109117
dependencies {
110118
add("lintChecks", findLibrary("lint-compose"))

gradle.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@
1616
# along with this program. If not, see http://www.gnu.org/licenses/.
1717
#
1818

19-
org.gradle.jvmargs=-Xmx8g
19+
org.gradle.jvmargs=-Xmx10g -XX:+UseParallelGC
2020
android.useAndroidX=true
2121
kotlin.code.style=official
2222

2323
# Support KMP Gradle Composite Builds - See https://youtrack.jetbrains.com/issue/KT-52172/
2424
kotlin.mpp.import.enableKgpDependencyResolution=true
2525
org.gradle.logging.level=LIFECYCLE
2626
android.experimental.enableScreenshotTest=true
27+
28+
# Configure lint heap size and workers
29+
org.gradle.workers.max=4
30+
android.lint.jvmargs=-Xmx6g -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ junit5 = "5.11.0"
109109
mockk = "1.13.16"
110110
okio = "3.9.0"
111111
turbine = "1.2.0"
112-
robolectric = "4.12.2"
112+
robolectric = "4.14"
113113
hamcrest = "3.0"
114114

115115
[plugins]

kalium

Submodule kalium updated 38 files

0 commit comments

Comments
 (0)