diff --git a/.kts/ktlint.main.kts b/.kts/ktlint.main.kts index 2b907588b..308b3c742 100644 --- a/.kts/ktlint.main.kts +++ b/.kts/ktlint.main.kts @@ -1,6 +1,6 @@ #!/usr/bin/env kotlin -@file:DependsOn("com.freeletics.gradle:scripts:0.6.1") +@file:DependsOn("com.freeletics.gradle:scripts-formatting:0.7.0") import com.freeletics.gradle.scripts.KtLintCli diff --git a/build.gradle.kts b/build.gradle.kts index b8ee71540..94ec9c83c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,36 +17,6 @@ plugins { dependencyAnalysis { issues { - all { - onUsedTransitiveDependencies { - exclude("dev.drewhamilton.poko:poko-annotations") - } - } - - project(":codegen-scope") { - onUnusedDependencies { - exclude(":codegen") - } - } - - project(":codegen-compose") { - onUnusedDependencies { - exclude(":codegen") - } - } - - project(":codegen-fragment") { - onUnusedDependencies { - exclude(":codegen") - } - } - - project(":codegen-compiler") { - onUnusedDependencies { - exclude("dev.zacsweers.kctfork:core", "com.squareup.anvil:compiler-utils") - } - } - project(":codegen-compiler-test") { onUnusedDependencies { // needed for compile testing @@ -60,29 +30,11 @@ dependencyAnalysis { "com.squareup.anvil:compiler-utils", ":codegen", ":codegen-compiler", - ":codegen-compose", - ":codegen-fragment", ":navigation-compose", ":navigation-fragment", ) } } - - project(":navigation") { - onUsedTransitiveDependencies { - exclude( - // false positive - "org.checkerframework:checker-qual", - ) - } - } - - project(":deeplinks-plugin") { - onIncorrectConfiguration { - // suggests junit to be api instead of testImplementation - exclude("junit:junit") - } - } } } diff --git a/codegen-compiler/codegen-compiler.gradle.kts b/codegen-compiler/codegen-compiler.gradle.kts index 21eb61d10..c74f2c77a 100644 --- a/codegen-compiler/codegen-compiler.gradle.kts +++ b/codegen-compiler/codegen-compiler.gradle.kts @@ -34,7 +34,6 @@ dependencies { testImplementation(libs.coroutines.core) testImplementation(libs.flowredux) - testFixturesApi(libs.kotlin.compile.testing) testFixturesImplementation(libs.anvil.compiler) testFixturesImplementation(testFixtures(libs.anvil.compiler.utils)) testFixturesImplementation(libs.kotlin.compile.testing.ksp)