-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 966 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
35
36
37
38
39
40
import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
allprojects {
group = "org.bitlap.kspark"
version = "1.0-SNAPSHOT"
apply {
plugin<JavaPlugin>()
plugin<KotlinPluginWrapper>()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
// testImplementation("junit", "junit", "4.12")
testImplementation("org.junit.jupiter:junit-jupiter:5.4.0")
}
repositories {
mavenLocal()
maven("https://maven.aliyun.com/repository/public")
mavenCentral()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.suppressWarnings = true
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
plugins {
java
kotlin("jvm") version "1.4.31"
`maven-publish`
}