-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
48 lines (46 loc) · 1.57 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
buildscript {
repositories {
google()
mavenCentral()
mavenLocal()
maven { setUrl("https://jitpack.io") }
maven {
setUrl(ConfigureApp.urlRepoDependencies)
isAllowInsecureProtocol = true
credentials {
//TODO change for your property
username =
findProperty("REPO_USERID_YOUR") as String? ?: System.getenv("REPO_USERID")
password = findProperty("REPO_TOKEN_YOUR") as String? ?: System.getenv("REPO_TOKEN")
}
}
}
dependencies {
classpath("com.android.tools.build:gradle:7.2.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21")
classpath("org.jacoco:org.jacoco.core:0.8.7")
classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.3")
classpath("com.google.dagger:hilt-android-gradle-plugin:2.39.1")
}
}
allprojects {
repositories {
google()
mavenCentral()
mavenLocal()
maven { setUrl("https://jitpack.io") }
maven {
setUrl(ConfigureApp.urlRepoDependencies)
isAllowInsecureProtocol = true
credentials {
//TODO change for your property
username =
findProperty("REPO_USERID_YOUR") as String? ?: System.getenv("REPO_USERID")
password = findProperty("REPO_TOKEN_YOUR") as String? ?: System.getenv("REPO_TOKEN")
}
}
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}