-
-
Notifications
You must be signed in to change notification settings - Fork 468
chore(deps): update Gradle to v9.4.1 #5063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
bb719cf
eb456fe
f58cd00
d240e67
d30bf46
219f319
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar | |
| plugins { | ||
| `java-library` | ||
| id("io.sentry.javadoc") | ||
| id("com.gradleup.shadow") version "8.3.6" | ||
| alias(libs.plugins.shadow) | ||
| } | ||
|
|
||
| fun relocatePackages(shadowJar: ShadowJar) { | ||
|
|
@@ -133,7 +133,7 @@ tasks { | |
| // each CopySpec has | ||
| // its own duplicatesStrategy | ||
| register("isolateJavaagentLibs", Copy::class.java) { | ||
| dependsOn(findByName("relocateJavaagentLibs")) | ||
| findByName("relocateJavaagentLibs")?.let { task -> dependsOn(task) } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inconsistent null-safety with
|
||
| with(isolateClasses(findByName("relocateJavaagentLibs")!!.outputs.files)) | ||
|
|
||
| into(project.layout.buildDirectory.file("isolated/javaagentLibs").get().asFile) | ||
|
|
@@ -145,7 +145,7 @@ tasks { | |
| named("shadowJar", ShadowJar::class) { | ||
| configurations = listOf(bootstrapLibs) + listOf(upstreamAgent) | ||
|
|
||
| dependsOn(findByName("isolateJavaagentLibs")) | ||
| findByName("isolateJavaagentLibs")?.let { task -> dependsOn(task) } | ||
| from(findByName("isolateJavaagentLibs")!!.outputs) | ||
|
|
||
| archiveClassifier.set("") | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AGP 8.13.1 incompatible with Gradle 9.4.1
High Severity
The default AGP version was bumped to
8.13.1, but AGP 8.x is only supported with Gradle 8.x. With the Gradle wrapper now at9.4.1, the Android build modules will fail because AGP 8.13.x requires Gradle 8.13 and is not compatible with Gradle 9. Only AGP 9.x (e.g., 9.0.x or 9.1.x) is supported with Gradle 9.x. The same applies to theandroid.experimental.lint.version=8.13.1ingradle.properties.Additional Locations (1)
gradle/wrapper/gradle-wrapper.properties#L2-L3