-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
44 lines (39 loc) · 971 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import co.anitrend.support.query.builder.buildSrc.plugins.resolver.handleDependencySelection
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
plugins {
id("com.github.ben-manes.versions")
}
buildscript {
dependencies {
classpath(libs.android.gradle.plugin)
classpath(libs.jetbrains.kotlin.gradle)
}
}
allprojects {
repositories {
google()
mavenCentral()
maven {
setUrl("https://www.jitpack.io")
}
}
}
tasks {
val clean by registering(Delete::class) {
delete(rootProject.layout.buildDirectory.get())
}
}
tasks.named(
"dependencyUpdates",
DependencyUpdatesTask::class.java
).configure {
checkForGradleUpdate = false
outputFormatter = "json"
outputDir = "build/dependencyUpdates"
reportfileName = "report"
resolutionStrategy {
componentSelection {
all { handleDependencySelection() }
}
}
}