-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
51 lines (45 loc) · 1.44 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
buildscript {
apply from: './configuration.gradle'
apply from: './dependencies.gradle'
repositories {
maven { url 'https://maven.google.com' }
google()
mavenCentral()
maven { url 'https://repo1.maven.org/maven2/' }
maven { url "https://jitpack.io" }
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://dl.bintray.com/icapps/maven" }
}
dependencies {
classpath deps.gradlePlugins.buildTools
classpath deps.gradlePlugins.kotlin
classpath deps.gradlePlugins.detekt
classpath deps.gradlePlugins.dokka
}
}
allprojects {
repositories {
maven { url 'https://maven.google.com' }
google()
mavenCentral()
maven { url 'https://repo1.maven.org/maven2/' }
maven { url "https://jitpack.io" }
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://dl.bintray.com/icapps/maven" }
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
freeCompilerArgs += ['-Xjvm-default=compatibility',
'-Xallow-result-return-type', '-Xopt-in=kotlin.RequiresOptIn',]
jvmTarget = "1.8"
}
}
configurations.all {
resolutionStrategy {
force deps.implementation.coroutinesAndroid
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}