-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
54 lines (50 loc) · 1.72 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
plugins {
id "java"
id "de.lukaskoerfer.gradle.delombok" version "0.2"
id 'com.github.johnrengelman.shadow' version "6.0.0"
}
group 'com.github.saltedfishclub'
version '4.8.0' //EDIT CORE.JAVA
assemble.dependsOn(shadowJar)
sourceCompatibility = 11
targetCompatibility = 11
repositories {
maven { url 'https://jitpack.io' }
maven {
name = "mavenCentral"
url = "http://maven.aliyun.com/nexus/content/groups/public/"
}
maven { url "https://libraries.minecraft.net"}
}
javadoc {
options.encoding "UTF-8"
options.charSet 'UTF-8'
source = "build/delombok/delombok"
failOnError = false
}
shadowJar {
zip64 true
manifest {
attributes 'Main-Class': 'cc.sfclub.core.Initializer'
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
implementation 'org.greenrobot:eventbus:3.2.0'
compileOnly 'org.projectlombok:lombok:1.18.12'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
//Loggers
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
//Database
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.19'
implementation 'org.xerial:sqlite-jdbc:3.32.3.2'
// https://mvnrepository.com/artifact/com.dieselpoint/norm
implementation group: 'com.dieselpoint', name: 'norm', version: '0.8.10'
//Utils
implementation 'org.reflections:reflections:0.9.12'
compile 'com.github.iceBear67:Util:96b6e38669'
compile 'com.mojang:brigadier:1.0.17'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
}