-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
61 lines (48 loc) · 1.52 KB
/
build.gradle
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
54
55
56
57
58
59
60
61
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = "1.9.10"
okhttp3_version = "4.12.0"
}
repositories {
google()
mavenCentral()
maven {
url 'https://storage.googleapis.com/r8-releases/raw'
}
}
dependencies {
classpath 'com.android.tools:r8:8.2.42'
classpath 'com.android.tools.build:gradle:8.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'org.owasp:dependency-check-gradle:9.0.9'
}
}
allprojects {
configurations.all {
resolutionStrategy {
force "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
force "org.jetbrains.kotlin:kotlin-stdlib-common:$kotlin_version"
force "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
force "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
}
repositories {
google()
mavenCentral()
}
apply plugin: 'org.owasp.dependencycheck'
dependencyCheck {
nvd.apiKey = project.findProperty("FF_NVD_API_KEY")
format = "JSON"
analyzers {
// full list https://jeremylong.github.io/DependencyCheck/dependency-check-gradle/configuration.html
nuspecEnabled = false
assemblyEnabled = false
msbuildEnabled = false
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}