GCAuth/build.gradle

46 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

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'
version '2.0.0'
2022-04-28 22:28:46 +00:00
repositories {
mavenCentral()
}
dependencies {
implementation files('lib/grasscutter-1.0.3-dev.jar')
2022-04-28 22:49:43 +00:00
implementation 'org.springframework.security:spring-security-crypto:5.6.3'
implementation 'commons-logging:commons-logging:1.2'
2022-04-29 00:13:27 +00:00
implementation 'com.auth0:java-jwt:3.19.1'
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{
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.1.jar','jackson-annotations-2.13.2.jar','jackson-core-2.13.2.jar','jackson-databind-2.13.2.2.jar']) {
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
}