UrlsController/build.gradle

48 lines
1.8 KiB
Groovy
Raw Normal View History

2021-03-16 14:25:15 +01:00
buildscript {
ext {
springBootVersion = "2.5.4"
springSecurityVersion = "5.5.2"
2021-03-16 14:25:15 +01:00
}
}
plugins {
id 'org.springframework.boot' version '2.5.4'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
2021-03-16 14:25:15 +01:00
id 'java'
}
group = 'eu.openaire.urls_controller'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
runtimeOnly "org.springframework.boot:spring-boot-devtools:${springBootVersion}"
2021-03-16 14:25:15 +01:00
implementation "org.springframework.boot:spring-boot-starter-web:${springBootVersion}"
implementation("org.springframework.boot:spring-boot-starter-security:${springBootVersion}")
implementation("org.springframework.boot:spring-boot-starter-jdbc:${springBootVersion}")
implementation("org.springframework.boot:spring-boot-configuration-processor:${springBootVersion}")
2021-03-16 14:25:15 +01:00
implementation("org.springframework.security:spring-security-core:${springSecurityVersion}")
implementation("org.springframework.security:spring-security-web:${springSecurityVersion}")
implementation("org.springframework.security:spring-security-config:${springSecurityVersion}")
//implementation("io.jsonwebtoken:jjwt:0.9.1") // Use this in case we use auth-tokens later on.
2021-03-16 14:25:15 +01:00
// https://mvnrepository.com/artifact/com.google.guava/guava
implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
2021-03-16 14:25:15 +01:00
implementation "org.projectlombok:lombok:1.18.20"
2021-03-16 14:25:15 +01:00
implementation group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final'
testImplementation group: 'org.springframework.security', name: 'spring-security-test', version: springSecurityVersion
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}