54 lines
1.7 KiB
Groovy
54 lines
1.7 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.6.0'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'eu.openaire.urls_worker'
|
|
version = '1.0.0-SNAPSHOT'
|
|
sourceCompatibility = '1.8'
|
|
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
|
|
|
|
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")
|
|
implementation("org.springframework.security:spring-security-web")
|
|
implementation("org.springframework.security:spring-security-config")
|
|
//implementation("io.jsonwebtoken:jjwt:0.9.1") // Use this in case we use auth-tokens later on.
|
|
|
|
implementation "org.projectlombok:lombok:1.18.22"
|
|
|
|
// Enable the validation annotations.
|
|
//implementation group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final'
|
|
|
|
implementation ("eu.openaire:publications_retriever:1.0-SNAPSHOT") {
|
|
exclude group: 'ch.qos.logback', module: 'logback-core'
|
|
exclude group: 'ch.qos.logback', module: 'logback-classic'
|
|
exclude group: 'org.slf4j', module: 'slf4j-api'
|
|
}
|
|
|
|
testImplementation group: 'org.springframework.security', name: 'spring-security-test'
|
|
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
|
}
|
|
|
|
configurations {
|
|
// Eliminates logback from other dependencies.
|
|
all*.exclude group: 'ch.qos.logback'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|