File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
build-logic/plugins/src/main/java/ch/srgssr/pillarbox/gradle Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,6 @@ jobs:
109109 run : mkdir -p ~/.gradle; cp .github/gradle-ci.properties ~/.gradle/gradle.properties
110110 - name : Run Dependency Analysis
111111 run : ./gradlew buildHealth
112- - name : Display analysis report
113- if : ${{ !cancelled() }}
114- run : cat build/reports/dependency-analysis/build-health-report.txt
115112
116113 unit-test :
117114 name : Unit Tests
Original file line number Diff line number Diff line change @@ -21,12 +21,14 @@ import org.gradle.kotlin.dsl.extra
2121class PillarboxAndroidApplicationPlugin : Plugin <Project > {
2222 override fun apply (target : Project ) = with (target) {
2323 pluginManager.apply (" com.android.application" )
24+ pluginManager.apply (" com.autonomousapps.dependency-analysis" )
2425 pluginManager.apply (" org.jetbrains.kotlin.android" )
2526 pluginManager.apply (" org.jetbrains.kotlin.plugin.compose" )
2627
2728 extensions.configure<ApplicationExtension > {
2829 configureAndroidLintModule(this )
2930 configureAndroidModule(this )
31+ configureKotlinModule()
3032
3133 buildFeatures {
3234 compose = true
@@ -66,7 +68,5 @@ class PillarboxAndroidApplicationPlugin : Plugin<Project> {
6668 }
6769 }
6870 }
69-
70- configureKotlinModule()
7171 }
7272}
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import org.gradle.kotlin.dsl.configure
1717class PillarboxAndroidLibraryPlugin : Plugin <Project > {
1818 override fun apply (target : Project ) = with (target) {
1919 pluginManager.apply (" com.android.library" )
20+ pluginManager.apply (" com.autonomousapps.dependency-analysis" )
2021 pluginManager.apply (" org.jetbrains.kotlin.android" )
2122
2223 extensions.configure<LibraryExtension > {
Original file line number Diff line number Diff line change @@ -23,5 +23,8 @@ android.useAndroidX=true
2323kotlin.code.style =official
2424
2525org.gradle.caching =true
26- # Disable configuration cache until Dokka supports it: https://github.com/Kotlin/dokka/issues/2231
26+ # Disable configuration cache until Dokka supports it: https://github.com/Kotlin/dokka/issues/1217
2727org.gradle.configuration-cache =false
28+
29+ # Print dependency analysis report to the console
30+ dependency.analysis.print.build.health =true
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ androidx-test-runner = "1.6.2"
1717androidx-tv-material = " 1.0.0"
1818coil = " 2.7.0"
1919comscore = " 6.11.1"
20- dependency-analysis-gradle-plugin = " 1.33.0 "
20+ dependency-analysis-gradle-plugin = " 2.0.1 "
2121detekt = " 1.23.6"
2222dokka = " 1.9.20"
2323guava = " 33.0.0-android"
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ dependencies {
3030 implementation(libs.androidx.compose.ui.unit)
3131 implementation(libs.androidx.compose.ui.util)
3232 implementation(libs.androidx.core)
33- implementation(libs.androidx.lifecycle.runtime)
3433 implementation(libs.androidx.lifecycle.viewmodel)
3534 implementation(libs.androidx.lifecycle.viewmodel.compose)
3635 implementation(libs.androidx.media3.common)
You can’t perform that action at this time.
0 commit comments