Skip to content

Commit 3b89509

Browse files
committed
Remove dependency analysis code from gradle
It was introduced in 16a20c4 and it turns out that: 1. it is not needed 2. causes issues in kotlin compilation
1 parent 6283379 commit 3b89509

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

build.gradle

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ buildscript {
1616
}
1717
}
1818

19-
plugins {
20-
alias libs.plugins.dependency.analysis
21-
}
22-
2319
allprojects {
2420
repositories {
2521
google()
@@ -29,27 +25,6 @@ allprojects {
2925
}
3026
}
3127

32-
dependencyAnalysis {
33-
structure {
34-
// Ignore Android KTX dependencies. See https://developer.android.com/kotlin/ktx#modules
35-
ignoreKtx(true)
36-
}
37-
issues {
38-
all {
39-
onAny {
40-
// Fail the run if any issues are found (default = 'warn')
41-
severity('fail')
42-
// Ignore warnings about kotlin-stdlib since we don't directly control its usage
43-
exclude('org.jetbrains.kotlin:kotlin-stdlib')
44-
}
45-
onUsedTransitiveDependencies {
46-
// We explicitly want to pull in these dependencies transitively from AC
47-
exclude('org.mozilla.appservices.nightly:fxaclient', 'org.mozilla.geckoview:geckoview-omni')
48-
}
49-
}
50-
}
51-
}
52-
5328
tasks.register("clean", Delete) {
5429
delete layout.buildDirectory
5530
}

gradle/libs.versions.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ atslRunner = "1.5.2"
1818
atslJunit = "1.1.5"
1919
colorpickerpreference = "2.0.6"
2020
desugarJdkLibs = "2.1.4"
21-
dependency-analysis = "3.0.1"
2221
diskLruCache = "2.0.2"
2322
espresso= "3.5.1"
2423
gamesActivity = "4.0.0"
@@ -159,5 +158,4 @@ work-testing = { module = "androidx.work:work-testing", version.ref = "androidxW
159158
zip4j = { module = "net.lingala.zip4j:zip4j", version.ref = "zip4j" }
160159

161160
[plugins]
162-
dependency-analysis = { id = "com.autonomousapps.dependency-analysis", version.ref = "dependency-analysis" }
163161
jetbrains-python-envs = { id = "com.jetbrains.python.envs", version.ref = "jetbrainsPython" }

0 commit comments

Comments
 (0)