-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (30 loc) · 836 Bytes
/
build.gradle
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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.70'
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'maven'
}
group 'me.patrykanuszczyk'
version '1.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven { url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compileOnly "org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
javaParameters = true
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
shadowJar {
archiveClassifier.set("")
archiveVersion.set("")
}