Newer
Older
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'java'
apply plugin: 'application'
mainClassName='com.uca.StartServer'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.freemarker:freemarker:2.3.30'
implementation 'com.sparkjava:spark-core:2.9.3'
implementation 'com.h2database:h2:1.4.200'
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.2', 'io.jsonwebtoken:jjwt-jackson:0.11.2'
implementation 'org.mindrot:jbcrypt:0.4'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.11.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.1'
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': '1.0.0',
'Main-Class': 'com.uca.StartServer'
}
}
sourceSets.main.java.srcDirs = ['src']