backend/build.gradle

48 lines
1.6 KiB
Groovy
Raw Normal View History

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()
jcenter()
2020-02-20 14:22:37 +00:00
}
dependencies {
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'
implementation 'com.sun.mail:javax.mail:1.6.2'
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'
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'
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()
}