Skip to content

Commit 50fa13f

Browse files
authored
Merge pull request #36 from android/renovate/end-all
Update all dependencies (end)
2 parents 150d3bc + fa652a4 commit 50fa13f

File tree

19 files changed

+641
-494
lines changed

19 files changed

+641
-494
lines changed

baseline-profiles/app/build.gradle.kts

+3-6
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@ plugins {
1818
alias(libs.plugins.android.application)
1919
alias(libs.plugins.kotlin.android)
2020
alias(libs.plugins.kotlin.parcelize)
21+
alias(libs.plugins.compose.compiler)
2122
alias(libs.plugins.androidx.baselineprofile)
2223
}
2324

2425
android {
25-
compileSdk = 34
26+
compileSdk = 35
2627
namespace = "com.example.baselineprofiles_codelab"
2728

2829
defaultConfig {
2930
applicationId = "com.example.baselineprofiles_codelab"
3031
minSdk = 21
31-
targetSdk = 34
32+
targetSdk = 35
3233
versionCode = 1
3334
versionName = "1.0"
3435
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
@@ -68,10 +69,6 @@ android {
6869
compose = true
6970
}
7071

71-
composeOptions {
72-
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
73-
}
74-
7572
packaging {
7673
// Multiple dependency bring these files in. Exclude them to enable
7774
// our test APK to build (has no effect on our AARs)

baseline-profiles/app/src/main/java/com/example/baselineprofiles_codelab/ui/components/Button.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package com.example.baselineprofiles_codelab.ui.components
1818

1919
import android.content.res.Configuration.UI_MODE_NIGHT_YES
2020
import androidx.compose.foundation.BorderStroke
21+
import androidx.compose.foundation.LocalIndication
2122
import androidx.compose.foundation.background
2223
import androidx.compose.foundation.clickable
2324
import androidx.compose.foundation.indication
@@ -33,7 +34,6 @@ import androidx.compose.material.ButtonDefaults
3334
import androidx.compose.material.MaterialTheme
3435
import androidx.compose.material.ProvideTextStyle
3536
import androidx.compose.material.Text
36-
import androidx.compose.material.ripple.rememberRipple
3737
import androidx.compose.runtime.Composable
3838
import androidx.compose.runtime.remember
3939
import androidx.compose.ui.Alignment
@@ -92,7 +92,7 @@ fun JetsnackButton(
9292
minWidth = ButtonDefaults.MinWidth,
9393
minHeight = ButtonDefaults.MinHeight
9494
)
95-
.indication(interactionSource, rememberRipple())
95+
.indication(interactionSource, LocalIndication.current)
9696
.padding(contentPadding),
9797
horizontalArrangement = Arrangement.Center,
9898
verticalAlignment = Alignment.CenterVertically,

baseline-profiles/build.gradle.kts

+6-4
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@
1414
* limitations under the License.
1515
*/
1616

17+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
1718
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
1819

1920
plugins {
2021
alias(libs.plugins.android.application) apply false
2122
alias(libs.plugins.android.test) apply false
2223
alias(libs.plugins.kotlin.android) apply false
2324
alias(libs.plugins.kotlin.parcelize) apply false
25+
alias(libs.plugins.compose.compiler) apply false
2426
alias(libs.plugins.androidx.baselineprofile) apply false
2527
}
2628

@@ -31,11 +33,11 @@ subprojects {
3133
}
3234

3335
tasks.withType<KotlinCompile>().configureEach {
34-
kotlinOptions {
35-
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
36+
compilerOptions {
37+
freeCompilerArgs.add("-opt-in=kotlin.RequiresOptIn")
3638
// Enable experimental coroutines APIs, including Flow
37-
freeCompilerArgs += "-opt-in=kotlin.Experimental"
38-
jvmTarget = JavaVersion.VERSION_17.toString()
39+
freeCompilerArgs.add("-opt-in=kotlin.Experimental")
40+
jvmTarget.set(JvmTarget.JVM_17)
3941
}
4042
}
4143
}

baseline-profiles/gradle/libs.versions.toml

+30-30
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,54 @@
11
[versions]
2-
accompanist = "0.34.0"
3-
androidGradlePlugin = "8.2.2"
4-
androidx-activity-compose = "1.9.0"
2+
accompanist = "0.36.0"
3+
androidGradlePlugin = "8.7.3"
4+
androidx-activity-compose = "1.9.3"
55
androidx-appcompat = "1.7.0"
66
androidx-benchmark = "1.2.4"
7-
androidx-benchmark-junit4 = "1.2.4"
8-
androidx-compose-bom = "2024.06.00"
9-
androidx-constraintlayout = "1.0.1"
10-
androidx-corektx = "1.13.1"
11-
androidx-lifecycle-runtime = "2.8.2"
12-
androidx-lifecycle-compose = "2.8.2"
13-
androidx-lifecycle-runtime-compose = "2.8.2"
14-
androidx-navigation = "2.7.7"
7+
androidx-benchmark-junit4 = "1.3.3"
8+
androidx-compose-bom = "2024.11.00"
9+
androidx-constraintlayout = "1.1.0"
10+
androidx-corektx = "1.15.0"
11+
androidx-lifecycle-runtime = "2.8.7"
12+
androidx-lifecycle-compose = "2.8.7"
13+
androidx-lifecycle-runtime-compose = "2.8.7"
14+
androidx-navigation = "2.8.4"
1515
androidx-palette = "1.0.0"
16-
androidx-test = "1.6.0"
17-
androidx-test-espresso = "3.6.0"
18-
androidx-test-ext-junit = "1.2.0"
16+
androidx-test = "1.6.1"
17+
androidx-test-espresso = "3.6.1"
18+
androidx-test-ext-junit = "1.2.1"
1919
androidx-test-ext-truth = "1.6.0"
2020
androidx-window = "1.3.0"
2121
androidxHiltNavigationCompose = "1.2.0"
2222
androix-test-uiautomator = "2.3.0"
23-
coil = "2.6.0"
23+
coil = "2.7.0"
2424
# @keep
2525
compileSdk = "33"
26-
compose-compiler = "1.4.5"
27-
coroutines = "1.8.0"
26+
coroutines = "1.9.0"
2827
google-maps = "19.0.0"
29-
gradle-versions = "0.46.0"
30-
hilt = "2.51"
28+
gradle-versions = "0.51.0"
29+
hilt = "2.53.1"
3130
hiltExt = "1.2.0"
3231
# @pin When updating to AGP 7.4.0-alpha10 and up we can update this https://developer.android.com/studio/write/java8-support#library-desugaring-versions
33-
jdkDesugar = "2.0.4"
32+
jdkDesugar = "2.1.3"
3433
junit = "4.13.2"
3534
# @pin Update in conjuction with Compose Compiler
36-
kotlin = "1.8.20"
37-
ksp = "1.8.0-1.0.9"
38-
maps-compose = "2.5.3"
35+
kotlin = "2.1.0"
36+
ksp = "2.1.0-1.0.29"
37+
maps-compose = "6.4.0"
3938
material = "1.12.0"
4039
# @keep
4140
minSdk = "21"
4241
okhttp = "4.12.0"
43-
robolectric = "4.11.1"
44-
rome = "1.18.0"
42+
robolectric = "4.14.1"
43+
rome = "2.1.0"
4544
room = "2.6.1"
46-
runtimeTracing = "1.0.0-beta01"
45+
runtimeTracing = "1.7.5"
4746
secrets = "2.0.1"
4847
# @keep
4948
targetSdk = "33"
50-
version-catalog-update = "0.8.0"
51-
androidx-baselineprofile = "1.2.3"
52-
profileinstaller = "1.3.1"
49+
version-catalog-update = "0.8.5"
50+
androidx-baselineprofile = "1.3.3"
51+
profileinstaller = "1.4.1"
5352

5453
[libraries]
5554
accompanist-adaptive = { module = "com.google.accompanist:accompanist-adaptive", version.ref = "accompanist" }
@@ -103,7 +102,7 @@ androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core",
103102
androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-ext-junit" }
104103
androidx-test-ext-truth = { module = "androidx.test.ext:truth", version.ref = "androidx-test-ext-truth" }
105104
androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidx-test" }
106-
androidx-test-runner = "androidx.test:runner:1.5.2"
105+
androidx-test-runner = "androidx.test:runner:1.6.2"
107106
androidx-test-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "androix-test-uiautomator" }
108107
androidx-window = { module = "androidx.window:window", version.ref = "androidx-window" }
109108
coil-kt-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" }
@@ -137,4 +136,5 @@ kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref =
137136
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
138137
secrets = { id = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin", version.ref = "secrets" }
139138
version-catalog-update = { id = "nl.littlerobots.version-catalog-update", version.ref = "version-catalog-update" }
139+
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
140140
androidx-baselineprofile = { id = "androidx.baselineprofile", version.ref = "androidx-baselineprofile" }

baseline-profiles/gradle/spotless.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
val ktlintVersion = "0.43.0"
1818

1919
initscript {
20-
val spotlessVersion = "6.11.0"
20+
val spotlessVersion = "6.25.0"
2121

2222
repositories {
2323
mavenCentral()
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)