51 lines
1.9 KiB
Groovy
51 lines
1.9 KiB
Groovy
buildscript {
|
|
ext {
|
|
springSecurityVersion = "5.4.6"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.springframework.boot' version '2.4.5'
|
|
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'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-configuration-processor")
|
|
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")
|
|
|
|
// 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 'com.google.code.gson:gson:2.8.6'
|
|
implementation group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final'
|
|
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
|
|
implementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
|
|
|
|
// https://mvnrepository.com/artifact/com.google.guava/guava
|
|
// implementation group: 'com.google.guava', name: 'guava', version: '30.1-jre' // It will be usefull later..
|
|
|
|
testImplementation group: 'org.springframework.security', name: 'spring-security-test', version: springSecurityVersion
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |