2022-04-29 00:13:27 +00:00
|
|
|
buildscript {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-04-28 22:28:46 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
}
|
|
|
|
|
2022-04-29 00:13:27 +00:00
|
|
|
sourceCompatibility = 17
|
|
|
|
targetCompatibility = 17
|
|
|
|
|
2022-04-28 22:28:46 +00:00
|
|
|
group 'me.exzork.gcauth'
|
2022-07-27 11:49:01 +00:00
|
|
|
version '2.5.0'
|
2022-04-28 22:28:46 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-09-26 06:11:26 +00:00
|
|
|
implementation files('lib/grasscutter-1.3.2-dev.jar')
|
2022-09-26 16:00:59 +00:00
|
|
|
implementation 'org.springframework.security:spring-security-crypto:5.7.3'
|
2022-04-28 22:49:43 +00:00
|
|
|
implementation 'commons-logging:commons-logging:1.2'
|
2022-09-26 16:00:59 +00:00
|
|
|
implementation 'com.auth0:java-jwt:4.0.0'
|
2022-04-29 00:13:27 +00:00
|
|
|
implementation 'javax.servlet:javax.servlet-api:4.0.1'
|
2022-04-28 22:28:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2022-04-29 00:13:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
jar{
|
|
|
|
jar.baseName = 'gcauth'
|
|
|
|
from{
|
|
|
|
configurations.runtimeClasspath.collect{
|
2022-09-26 16:14:34 +00:00
|
|
|
if (it.name in ['spring-security-crypto-5.7.3.jar','commons-logging-1.2.jar','javax.servlet-api-4.0.1.jar','java-jwt-4.0.0.jar','jackson-annotations-2.13.2.jar','jackson-core-2.13.2.jar','jackson-databind-2.13.2.2.jar']) {
|
2022-04-29 00:13:27 +00:00
|
|
|
zipTree(it)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}{
|
|
|
|
exclude('META-INF/LICENSE*')
|
|
|
|
exclude("META-INF/versions/9/module-info.class")
|
|
|
|
exclude("META-INF/NOTICE")
|
|
|
|
}
|
|
|
|
destinationDir = file(".")
|
2022-04-28 22:28:46 +00:00
|
|
|
}
|