-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.gradle
47 lines (38 loc) · 1.06 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
buildscript {
}
plugins {
id 'java'
}
sourceCompatibility = 17
targetCompatibility = 17
group 'top.cyqi.EasyGrasscutters'
version '3.0.0'
repositories {
mavenCentral()
}
dependencies {
implementation files('lib/grasscutter-1.2.3-dev-70ce93b.jar')
implementation 'org.springframework.security:spring-security-crypto:5.6.3'
implementation 'commons-logging:commons-logging:1.2'
implementation 'com.auth0:java-jwt:4.0.0'
implementation 'javax.servlet:javax.servlet-api:4.0.1'
implementation 'org.json:json:20220320'
}
test {
useJUnitPlatform()
}
jar {
jar.baseName = 'EasyGrasscutters'
from {
configurations.runtimeClasspath.collect {
if (it.name in ['spring-security-crypto-5.6.3.jar', 'commons-logging-1.2.jar', 'javax.servlet-api-4.0.1.jar', 'java-jwt-3.19.2.jar', 'json-20220320.jar']) {
zipTree(it)
}
}
} {
exclude('META-INF/LICENSE*')
exclude("META-INF/versions/9/module-info.class")
exclude("META-INF/NOTICE")
}
destinationDir = file(".")
}