mirror of
https://github.com/exzork/GCAuth.git
synced 2024-11-28 02:06:19 +00:00
46 lines
1.1 KiB
Groovy
46 lines
1.1 KiB
Groovy
buildscript {
|
|
|
|
}
|
|
|
|
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
sourceCompatibility = 17
|
|
targetCompatibility = 17
|
|
|
|
group 'me.exzork.gcauth'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation group: 'tech.xigam', name: 'grasscutter', version: '1.0.2-dev'
|
|
implementation 'org.springframework.security:spring-security-crypto:5.6.3'
|
|
implementation 'commons-logging:commons-logging:1.2'
|
|
implementation 'com.auth0:java-jwt:3.19.1'
|
|
implementation 'javax.servlet:javax.servlet-api:4.0.1'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
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(".")
|
|
|
|
} |