-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
53 lines (44 loc) · 1.46 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
50
51
52
53
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("com.github.hierynomus.license") version "0.15.0"
kotlin("jvm") version "1.4.32"
id("java")
id("maven")
application
}
group = "com.github.jonathanxd"
version = "1.0.3-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_1_9
targetCompatibility = JavaVersion.VERSION_1_9
}
repositories {
mavenCentral()
maven("https://jitpack.io/")
}
dependencies {
// Kores
implementation("com.github.koresframework.Kores:Kores:4.0.1.base")
implementation("com.github.koresframework.Kores-SourceWriter:Kores-SourceWriter:4.0.1.source")
implementation("com.github.koresframework:Kores-Extra:1.4.4")
implementation("com.github.koresframework:KoresProxy:2.6.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3")
implementation("com.github.koresframework:EventSys:1.9.1")
implementation("com.github.JonathanxD.JwIUtils:JwIUtils:4.17.2")
implementation("com.github.JonathanxD.JwIUtils:jwiutils-kt:4.17.2")
testImplementation(kotlin("test-junit5"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.0")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "9"
}
tasks {
withType<nl.javadude.gradle.plugins.license.License> {
header = rootProject.file("LICENSE")
strictCheck = true
}
}