81 lines
2.8 KiB
Groovy
81 lines
2.8 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.1.3.RELEASE'
|
|
id 'java'
|
|
id 'org.asciidoctor.jvm.convert' version '2.2.0'
|
|
}
|
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'war'
|
|
|
|
group = 'de.hhn.labsw'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '1.8'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }
|
|
}
|
|
|
|
bootWar{
|
|
baseName = 'buga19geocachingbackend'
|
|
archiveName 'buga19geocachingbackend.war'
|
|
}
|
|
|
|
dependencies {
|
|
compile project('labswp_2019_sose_geocaching_frontend')
|
|
//Java Spring
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
compile 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
//JPA
|
|
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
//MariaDB
|
|
implementation 'org.mariadb.jdbc:mariadb-java-client'
|
|
|
|
//Thymeleaf
|
|
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
|
|
|
|
//JSON Parser
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
compile 'com.googlecode.json-simple:json-simple:1.1.1'
|
|
|
|
|
|
compile 'org.springframework.boot:spring-boot-starter-tomcat'
|
|
//compile 'org.springframework.boot:spring-boot-starter-security'
|
|
//compile 'org.springframework.boot:spring-boot-starter-actuator'
|
|
//compile 'org.springframework.boot:spring-boot-starter-aop'
|
|
//ompile group: 'org.springframework.boot', name: 'spring-boot-starter-mail', version: '1.2.0.RELEASE'
|
|
|
|
compile group: 'org.springframework.security', name: 'spring-security-core', version: '5.1.4.RELEASE'
|
|
//compile group: 'at.favre.lib', name: 'bcrypt', version: '{latest-version}'
|
|
|
|
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
|
|
|
|
//JWT
|
|
compile 'io.jsonwebtoken:jjwt-api:0.10.5'
|
|
runtime 'io.jsonwebtoken:jjwt-impl:0.10.5',
|
|
'io.jsonwebtoken:jjwt-jackson:0.10.5'
|
|
|
|
compile "io.springfox:springfox-swagger2:2.9.2"
|
|
|
|
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.0.2'
|
|
|
|
// https://mvnrepository.com/artifact/com.mashape.unirest/unirest-java
|
|
compile group: 'com.mashape.unirest', name: 'unirest-java', version: '1.3.1'
|
|
|
|
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
|
|
compile group: 'org.slf4j', name:'slf4j-api', version: '1.7.2'
|
|
compile group: 'ch.qos.logback', name:'logback-classic', version: '1.0.9'
|
|
compile group: 'ch.qos.logback', name:'logback-core', version: '1.0.9'
|
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.+'
|
|
|
|
compile "io.github.swagger2markup:swagger2markup:1.3.1"
|
|
|
|
} |