-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
49 lines (42 loc) · 1.07 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
49
import com.turastory.androidtoolbox.build.android.configureAndroidCommons
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:4.0.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72")
classpath("com.turastory:build-tools:0.0.1")
}
}
val libVersionCode = 1
val libVersionName = "1.0.0"
allprojects {
group = "com.turastory.androidtoolbox"
version = libVersionName
repositories {
google()
jcenter()
mavenCentral()
}
val project = this
if (project != rootProject &&
name != "lab" &&
projectDir.parentFile.name != "incubating"
) {
println("Library Configuration Targets: $name")
configureAndroidCommons(libVersionCode, libVersionName)
}
}
tasks {
register("clean", Delete::class) {
delete(rootProject.buildDir)
}
withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
}
}
}