Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,17 @@ fun isBlockListed(candidate: ModuleComponentIdentifier): Boolean {
}
}

// TODO(b/522845800): remove this once the bug with AGP 9.3.x and lint has been fixed
fun isBuggyAGP(candidate: ModuleComponentIdentifier): Boolean {
// Skip versions <= 9.3.1
return candidate.toString().lowercase().contains("com.android.application") &&
candidate.version.replace(".", "").toInt() <= 931
}

tasks.withType<DependencyUpdatesTask> {
rejectVersionIf {
(isNonStable(candidate) && notFromFirebase(candidate)) || isBlockListed(candidate)
(isNonStable(candidate) && notFromFirebase(candidate)) || isBlockListed(candidate) ||
isBuggyAGP(candidate)
}
}

Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ firebaseBom = "34.16.0"
googleServices = "4.5.0"
firebaseCrashlytics = "3.0.7"
firebasePerf = "2.0.2"
gradleVersions = "0.54.0"
gradleVersions = "0.56.0"
junit = "4.13.2"
junitVersion = "1.3.0"
kotlin = "2.4.0"
kotlin = "2.4.10"
kotlinxSerializationCore = "1.11.0"
lifecycle = "2.11.0"
material = "1.14.0"
Expand Down Expand Up @@ -70,4 +70,4 @@ compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "
firebase-crashlytics = { id = "com.google.firebase.crashlytics", version.ref = "firebaseCrashlytics" }
firebase-perf = { id = "com.google.firebase.firebase-perf", version.ref = "firebasePerf" }
navigation-safeargs = { id = "androidx.navigation.safeargs", version.ref = "composeNavigation" }
gradle-versions = { id = "com.github.ben-manes.versions", version.ref = "gradleVersions" }
gradle-versions = { id = "io.github.ben-manes.versions", version.ref = "gradleVersions" }
6 changes: 3 additions & 3 deletions internal/lint/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ java {
}

dependencies {
compileOnly("com.android.tools.lint:lint-api:32.2.1")
testImplementation("com.android.tools.lint:lint:32.2.1")
testImplementation("com.android.tools.lint:lint-tests:32.2.1")
compileOnly("com.android.tools.lint:lint-api:32.3.1")
testImplementation("com.android.tools.lint:lint:32.3.1")
testImplementation("com.android.tools.lint:lint-tests:32.3.1")
testImplementation("junit:junit:4.13.2")
}
Loading