diff --git a/gradle.properties b/gradle.properties index de6168a7a..46f5f47d6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarni android.experimental.lint.version # Force use of the latest android lint version -android.experimental.lint.version=8.6.0-alpha06 +android.experimental.lint.version=8.8.0-alpha01 android.experimental.lint.missingBaselineIsEmptyBaseline=true # Disable noisy DAGP logs diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7e34de55d..cc53fa616 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "8.5.2" +agp = "8.6.0" agpAlpha = "8.6.0" anvil = "2.5.0-beta11" bugsnagGradle = "8.1.0" @@ -74,7 +74,7 @@ coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core" } coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test" } detekt = { module = "io.gitlab.arturbosch.detekt:detekt-core", version.ref = "detekt" } develocity-agent-adapters = "com.gradle:develocity-gradle-plugin-adapters:1.0.4" -gradleLints = "androidx.lint:lint-gradle:1.0.0-alpha01" +gradleLints = "androidx.lint:lint-gradle:1.0.0-alpha02" gradlePlugins-anvil = { module = "com.squareup.anvil:gradle-plugin", version.ref = "anvil" } gradlePlugins-bugsnag = { module = "com.bugsnag:bugsnag-android-gradle-plugin", version.ref = "bugsnagGradle" } gradlePlugins-compose = { module = "org.jetbrains.compose:compose-gradle-plugin", version.ref = "compose-jb" } diff --git a/slack-plugin/lint-baseline.xml b/slack-plugin/lint-baseline.xml index 7b30656f7..eb62966d4 100644 --- a/slack-plugin/lint-baseline.xml +++ b/slack-plugin/lint-baseline.xml @@ -1,8 +1,184 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13,7 +189,7 @@ @@ -24,7 +200,7 @@ @@ -35,7 +211,7 @@ @@ -46,7 +222,7 @@ @@ -56,6 +232,61 @@ column="1"/> + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - @@ -155,17 +353,6 @@ column="1"/> - - - - + id="WithTypeWithoutConfigureEach" + message="Avoid passing a closure to withType, use withType().configureEach instead" + errorLine1=" project.tasks.withType(JavaCompile::class.java, baseConfig.javaCompileAptAction)" + errorLine2=" ~~~~~~~~"> + file="src/main/kotlin/slack/gradle/AnnotationProcessing.kt" + line="142" + column="23"/> + + + + + + + +