Skip to content

Commit e559205

Browse files
Bump com.autonomousapps.dependency-analysis from 1.33.0 to 2.0.1 (#690)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gaëtan Muller <[email protected]>
1 parent a8a9340 commit e559205

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

build-logic/plugins/src/main/java/ch/srgssr/pillarbox/gradle/PillarboxAndroidApplicationPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ import org.gradle.kotlin.dsl.extra
2121
class 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
}

build-logic/plugins/src/main/java/ch/srgssr/pillarbox/gradle/PillarboxAndroidLibraryPlugin.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import org.gradle.kotlin.dsl.configure
1717
class 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> {

gradle.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ android.useAndroidX=true
2323
kotlin.code.style=official
2424

2525
org.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
2727
org.gradle.configuration-cache=false
28+
29+
# Print dependency analysis report to the console
30+
dependency.analysis.print.build.health=true

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ androidx-test-runner = "1.6.2"
1717
androidx-tv-material = "1.0.0"
1818
coil = "2.7.0"
1919
comscore = "6.11.1"
20-
dependency-analysis-gradle-plugin = "1.33.0"
20+
dependency-analysis-gradle-plugin = "2.0.1"
2121
detekt = "1.23.6"
2222
dokka = "1.9.20"
2323
guava = "33.0.0-android"

pillarbox-demo-tv/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)