-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (32 loc) · 964 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
39
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.70'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
group 'me.patrykanuszczyk.spigot'
version '1.1.0'
repositories {
mavenCentral()
// Spigot
maven { url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
// Shadow
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
// bStats
maven { url = "https://repo.codemc.org/repository/maven-public" }
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compileOnly "org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT"
implementation "org.bstats:bstats-bukkit:1.7"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.javaParameters = true
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
shadowJar {
archiveClassifier.set("")
relocate 'org.bstats', 'me.patrykanuszczyk.spigot.fastcrafting.bstats'
}