-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle.kts
34 lines (29 loc) · 943 Bytes
/
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("java-gradle-plugin")
id("org.jetbrains.kotlin.jvm") version Versions.KOTLIN_VERSION
id("org.gradle.kotlin.kotlin-dsl") version Versions.KOTLIN_DSL_VERSION
id("com.android.application") version Versions.ANDROID_BUILD_TOOLS_VERSION apply false
kotlin("android") version Versions.KOTLIN_VERSION apply false
kotlin("plugin.serialization") version Versions.KOTLIN_VERSION apply false
}
allprojects {
repositories {
google()
mavenCentral()
mavenLocal()
maven("https://plugins.gradle.org/m2/")
}
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = Plugin.JVM_TARGET
}
}
tasks.withType<JavaCompile> {
sourceCompatibility = Plugin.JVM_TARGET
targetCompatibility = Plugin.JVM_TARGET
}
}