2021-03-16 14:25:15 +01:00
|
|
|
buildscript {
|
|
|
|
ext {
|
2021-09-09 14:56:37 +02:00
|
|
|
springBootVersion = "2.5.4"
|
|
|
|
springSecurityVersion = "5.5.2"
|
2021-03-16 14:25:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
2021-09-09 14:56:37 +02:00
|
|
|
id 'org.springframework.boot' version '2.5.4'
|
2021-05-19 01:32:46 +02:00
|
|
|
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 {
|
2021-09-09 14:56:37 +02:00
|
|
|
runtimeOnly "org.springframework.boot:spring-boot-devtools:${springBootVersion}"
|
2021-03-16 14:25:15 +01:00
|
|
|
|
2021-09-09 14:56:37 +02: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}")
|
2021-06-10 13:21:39 +02:00
|
|
|
//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
|
|
|
|
2021-05-18 16:23:20 +02: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
|
|
|
|
2021-05-18 16:23:20 +02: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'
|
|
|
|
}
|
2021-03-16 17:07:30 +01:00
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|