-
-
Notifications
You must be signed in to change notification settings - Fork 125
/
build.gradle.kts
53 lines (49 loc) · 1.9 KB
/
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
45
46
47
48
49
50
51
52
53
plugins {
id("org.sonarqube") version app.web.drjackycv.buildsrc.Depends.Versions.sonarqubeVersion
detekt
id("com.github.ben-manes.versions") version app.web.drjackycv.buildsrc.Depends.Versions.checkDependencyVersionsVersion
id("com.osacky.doctor") version app.web.drjackycv.buildsrc.Depends.Versions.gradleDoctorVersion
id("com.autonomousapps.dependency-analysis") version app.web.drjackycv.buildsrc.Depends.Versions.dependencyAnalysisVersion
id("org.sonatype.gradle.plugins.scan") version app.web.drjackycv.buildsrc.Depends.Versions.sonatypeScanGradleVersion
}
buildscript {
repositories {
google()
mavenCentral()
maven {
url = uri("https://storage.googleapis.com/r8-releases/raw")
}
}
dependencies {
classpath(app.web.drjackycv.buildsrc.Depends.ClassPaths.r8)
classpath(app.web.drjackycv.buildsrc.Depends.ClassPaths.gradle)
classpath(
kotlin(
app.web.drjackycv.buildsrc.Depends.ClassPaths.kotlin_gradle_plugin,
version = app.web.drjackycv.buildsrc.Depends.Versions.kotlinVersion
)
)
classpath(app.web.drjackycv.buildsrc.Depends.ClassPaths.navigation_safe_args_gradle_plugin)
classpath(app.web.drjackycv.buildsrc.Depends.ClassPaths.hilt_android_gradle_plugin)
classpath(app.web.drjackycv.buildsrc.Depends.ClassPaths.sonarqube_gradle_plugin)
}
}
allprojects {
repositories {
google()
mavenCentral()
maven("https://maven.google.com/")
maven("https://jitpack.io")
maven("https://plugins.gradle.org/m2/")
}
}
configure<com.osacky.doctor.DoctorExtension> {
disallowMultipleDaemons.set(false)
negativeAvoidanceThreshold.set(500)
warnWhenJetifierEnabled.set(true)
javaHome {
ensureJavaHomeIsSet.set(true)
ensureJavaHomeMatches.set(true)
failOnError.set(true)
}
}