Skip to content

Commit

Permalink
Bump to AGP 8.4.1 and Gradle 8.7 (#121)
Browse files Browse the repository at this point in the history
* Bump Gradle to 8.7

* Bump to AGP 8.4.1

* Copy changes from 8.4.1 to DependencyConfigurator
  • Loading branch information
eric-labelle authored May 23, 2024
1 parent e6b12f3 commit ae79f4b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ class DependencyConfigurator(
experimentalPropertiesApiGenerator
?: project.dependencies.create(
projectServices.projectOptions.get(StringOption.ANDROID_PRIVACY_SANDBOX_SDK_API_GENERATOR)
?: "androidx.privacysandbox.tools:tools-apigenerator:1.0.0-alpha03"
?: MavenCoordinates.ANDROIDX_PRIVACY_SANDBOX_SDK_API_GENERATOR.toString()
) as Dependency

val experimentalPropertiesRuntimeApigeneratorDependencies =
Expand All @@ -505,7 +505,7 @@ class DependencyConfigurator(
?: (projectServices.projectOptions
.get(StringOption.ANDROID_PRIVACY_SANDBOX_SDK_API_GENERATOR_GENERATED_RUNTIME_DEPENDENCIES)
?.split(",")
?: listOf("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")).map {
?: listOf(MavenCoordinates.ORG_JETBRAINS_KOTLINX_KOTLINX_COROUTINES_ANDROID.toString())).map {
project.dependencies.create(it)
}

Expand All @@ -524,7 +524,7 @@ class DependencyConfigurator(
params.bootstrapClasspath.from(bootstrapCreationConfig.fullBootClasspath)

val kotlinCompiler = project.configurations.detachedConfiguration(
project.dependencies.create("org.jetbrains.kotlin:kotlin-compiler-embeddable:1.7.10")
project.dependencies.create(MavenCoordinates.KOTLIN_COMPILER.toString())
)
kotlinCompiler.isCanBeConsumed = false
kotlinCompiler.isCanBeResolved = true
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
agp = "8.3.2" # keep in sync with android-tools
android-tools = "31.3.2" # = 23.0.0 + agp
agp = "8.4.1" # keep in sync with android-tools
android-tools = "31.4.1" # = 23.0.0 + agp
compilerTesting = "0.2.1"
compose = "1.4.7"
kotlin = "1.8.21"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Oct 20 09:50:20 EDT 2022
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit ae79f4b

Please sign in to comment.