-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (32 loc) · 1.06 KB
/
Copy pathbuild.gradle
File metadata and controls
43 lines (32 loc) · 1.06 KB
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
plugins {
id 'java'
}
group 'com.gmail.necnionch.myapp'
version '1.1.3_libs'
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
// https://mvnrepository.com/artifact/org.javassist/javassist
compile group: 'org.javassist', name: 'javassist', version: '3.27.0-GA'
implementation files("libs/spigot-1.16.3.jar")
implementation files("libs/BungeeCord.jar")
compile 'com.google.code.gson:gson:2.9.0'
// https://mvnrepository.com/artifact/io.netty/netty-all
compile group: 'io.netty', name: 'netty-all', version: '4.1.24.Final'
}
jar {
from {
configurations.compile
.collect { it.isDirectory() ? it : zipTree(it) }
}
manifest {
attributes "Premain-Class": "com.gmail.necnionch.myapp.craftswitcherreportmodule.CraftSwitcherAgent",
"Can-Redefine-Classes": true
}
exclude("module-info.class")
exclude("META-INF/versions/9/module-info.class")
}
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"