forked from lsmyrnaios/UrlsController
48 lines
1.8 KiB
Groovy
48 lines
1.8 KiB
Groovy
buildscript {
|
|
ext {
|
|
springBootVersion = "2.5.4"
|
|
springSecurityVersion = "5.5.2"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.springframework.boot' version '2.5.4'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
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}"
|
|
|
|
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}")
|
|
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.
|
|
|
|
// https://mvnrepository.com/artifact/com.google.guava/guava
|
|
implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
|
|
|
|
implementation "org.projectlombok:lombok:1.18.20"
|
|
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()
|
|
} |