-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
31 lines (28 loc) · 774 Bytes
/
Copy pathbuild.gradle.kts
File metadata and controls
31 lines (28 loc) · 774 Bytes
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:4.2.0-alpha12")
classpath("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5")
classpath("com.github.dcendents:android-maven-gradle-plugin:2.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Libraries.kotlinVersion}")
}
}
allprojects {
repositories {
google()
jcenter()
}
tasks.withType(Javadoc::class) {
enabled = false
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class).configureEach {
kotlinOptions {
allWarningsAsErrors = true
jvmTarget = "1.8"
}
}
}