-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (43 loc) · 1.32 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'gradle/dependencies.gradle'
apply plugin: "com.github.ben-manes.versions"
buildscript {
ext {
plugin_version = '4.2.1'
kotlin_version = "1.5.20"
dokkaVersion = "1.4.32"
}
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:$plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.ben-manes:gradle-versions-plugin:0.38.0"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
ext {
compileSdkVersion = 30
minSdkVersion = 19
targetSdkVersion = 30
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
allprojects {
repositories {
google()
mavenCentral()
maven {
// Some dependencies of dokka not yet in maven central
url = "https://dl.bintray.com/kotlin/kotlinx/"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}