This repository has been archived by the owner on Nov 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
57 lines (46 loc) · 1.61 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
54
55
56
57
plugins {
id("fabric-loom") version "g0.4.0-SNAPSHOT"
id("de.set.ecj") version "1.4.1"
}
group = "io.github.fukkitmc"
version = "1.0.0-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
minecraft {
accessWidener = file("src/main/resources/craftbukkit.aw")
loadDefinitions("definitions/definitions.json")
loadDefinitions("definitions/manual.json")
}
repositories {
maven {
name = "SpigotMC"
url = uri("https://hub.spigotmc.org/nexus/content/groups/public/")
}
mavenLocal()
}
ecj {
toolVersion = "3.22.0"
}
dependencies {
minecraft("net.minecraft", "minecraft", "1.16.1")
mappings("net.fabricmc", "yarn", "1.16.1+build.21", classifier = "v2")
modCompile("net.fabricmc", "fabric-loader", "0.9.0+build.204")
compileOnly("com.google.code.findbugs", "jsr305", "3.0.2")
implementation("com.googlecode.json-simple:json-simple:1.1.1")
implementation("jline:jline:2.12.1")
implementation("mysql:mysql-connector-java:5.1.49")
// Bukkit API is no longer being published to Spigot's Maven
// For now, force users to have Bukkit
implementation("org.bukkit:bukkit:1.16.1-R0.1-SNAPSHOT")
implementation("org.xerial:sqlite-jdbc:3.32.3")
include("com.googlecode.json-simple:json-simple:1.1.1")
include("jline:jline:2.12.1")
include("mysql:mysql-connector-java:5.1.49")
include("org.bukkit:bukkit:1.16.1-R0.1-SNAPSHOT")
include("org.xerial:sqlite-jdbc:3.32.3")
}
tasks.withType<JavaCompile> {
options.headerOutputDirectory.convention(objects.directoryProperty())
}