backend/build.gradle

55 lines
1.9 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 "de.aaschmid.cpd" version "3.1"
2020-02-20 14:22:37 +00:00
id 'java'
}
group = 'ch.usi.inf.sa4.sanmarinoes'
2020-02-20 14:22:37 +00:00
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
2020-02-20 14:22:37 +00:00
repositories {
mavenCentral()
}
dependencies {
compile 'org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final'
compile "org.springframework.boot:spring-boot-starter-websocket"
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-03-11 15:23:58 +00:00
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.springframework:spring-websocket:5.2.4.RELEASE'
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'
2020-03-12 15:23:02 +00:00
compile 'org.springframework.boot:spring-boot-configuration-processor'
2020-03-12 15:57:50 +00:00
testCompile 'org.springframework.boot:spring-boot-starter-webflux'
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'
2020-03-12 15:23:02 +00:00
testImplementation 'com.h2database:h2:1.4.200'
2020-03-05 11:42:53 +00:00
// 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()
}