-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
47 lines (37 loc) · 847 Bytes
/
build.gradle.kts
File metadata and controls
47 lines (37 loc) · 847 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.10"
`maven-publish`
}
group = "codes.som"
version = "8.0.2"
repositories {
mavenCentral()
}
dependencies {
arrayOf("asm", "asm-tree", "asm-commons").forEach {
implementation("org.ow2.asm:$it:9.2")
}
testImplementation(kotlin("test"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.2")
}
kotlin {
explicitApi()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
tasks.test {
useJUnitPlatform()
}
publishing {
repositories {
maven("$buildDir/repo")
}
publications {
register("mavenJava", MavenPublication::class) {
from(components["java"])
}
}
}