2020-02-20 14:22:37 +00:00
|
|
|
plugins {
|
|
|
|
id 'org.springframework.boot' version '2.2.4.RELEASE'
|
|
|
|
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
|
|
|
|
id 'java'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'ch.usi.inf.sa4.sanmarinoes.'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
2020-02-25 14:03:41 +00:00
|
|
|
sourceCompatibility = "11"
|
2020-02-20 14:22:37 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2020-03-02 16:11:29 +00:00
|
|
|
jcenter()
|
2020-02-20 14:22:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-02-22 22:19:34 +00:00
|
|
|
compile 'org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final'
|
2020-02-20 14:22:37 +00:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter'
|
2020-03-04 15:55:53 +00:00
|
|
|
implementation 'com.sun.mail:javax.mail:1.6.2'
|
2020-02-22 22:19:34 +00:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
2020-02-25 16:51:45 +00:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
2020-02-27 20:39:38 +00:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-mail'
|
2020-02-25 16:51:45 +00:00
|
|
|
implementation 'io.jsonwebtoken:jjwt:0.9.1'
|
2020-02-25 14:03:41 +00:00
|
|
|
implementation 'org.springframework.security:spring-security-web'
|
2020-02-22 22:19:34 +00:00
|
|
|
implementation 'org.postgresql:postgresql'
|
2020-03-05 11:42:53 +00:00
|
|
|
implementation 'com.google.code.gson:gson'
|
|
|
|
compile 'io.springfox:springfox-swagger2:2.9.2'
|
|
|
|
compile 'io.springfox:springfox-swagger-ui:2.9.2'
|
2020-03-06 10:10:58 +00:00
|
|
|
compile "org.springframework.boot:spring-boot-configuration-processor"
|
2020-02-25 14:03:41 +00:00
|
|
|
|
2020-02-20 20:58:23 +00:00
|
|
|
implementation('org.springframework.boot:spring-boot-starter-web') {
|
|
|
|
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-json'
|
|
|
|
}
|
2020-03-05 11:42:53 +00:00
|
|
|
|
2020-02-20 14:22:37 +00:00
|
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
|
|
}
|
2020-03-05 11:42:53 +00:00
|
|
|
|
|
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
|
|
testImplementation 'com.h2database:h2:1.3.148'
|
|
|
|
|
|
|
|
// Fixes https://stackoverflow.com/a/60455550
|
|
|
|
testImplementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.11'
|
2020-02-20 14:22:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|