From c2e609bdf75bf3a91eaf975db275c6d7fa487b4d Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 17 Oct 2024 17:57:05 +0530 Subject: [PATCH] fix(build): upgrade to Gradle 8.11-rc-1 --- android/build.gradle.kts | 3 ++- gradle.properties | 1 + gradle/wrapper/gradle-wrapper.properties | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/android/build.gradle.kts b/android/build.gradle.kts index d29f735f..a3b27045 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -47,7 +47,8 @@ android { baselineProfile { mergeIntoMain = true saveInSrc = true - from(projects.benchmark.dependencyProject) + // dependencyProject is deprecated, needs new APIs in the baseline profile plugin. + @Suppress("deprecation") from(projects.benchmark.dependencyProject) } composeCompiler { featureFlags.addAll(ComposeFeatureFlag.OptimizeNonSkippingGroups) } diff --git a/gradle.properties b/gradle.properties index 54d3f178..4cbfdbed 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,6 +12,7 @@ systemProp.org.gradle.android.cache-fix.ignoreVersionCheck=true org.gradle.configuration-cache=true org.gradle.configuration-cache.problems=warn org.gradle.configuration-cache.max-problems=2 +org.gradle.configuration-cache.parallel=true # Set JVM heap size to 3G org.gradle.jvmargs=-Xmx3072m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options=-Xmx1500m,Xms500m diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index fb602ee2..74b1d065 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26 -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip +distributionSha256Sum=2522b1593704b6b26e03cb2dec86d792b1c6ca5c33d10e078fab7a146354130e +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-rc-1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME