2021-03-16 14:25:15 +01:00
|
|
|
plugins {
|
2022-02-25 16:41:24 +01:00
|
|
|
id 'org.springframework.boot' version '2.6.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'
|
2021-11-09 22:59:27 +01:00
|
|
|
version = '1.0.0-SNAPSHOT'
|
2021-03-16 14:25:15 +01:00
|
|
|
sourceCompatibility = '1.8'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2021-11-09 22:59:27 +01:00
|
|
|
maven {
|
2022-01-27 23:41:29 +01:00
|
|
|
name "omtd"
|
|
|
|
url "https://repo.openminted.eu/content/repositories/releases/"
|
2021-11-09 22:59:27 +01:00
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name "pentaho-repo"
|
|
|
|
url "https://public.nexus.pentaho.org/content/groups/omni/"
|
|
|
|
}
|
2021-03-16 14:25:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-11-04 10:57:19 +01:00
|
|
|
runtimeOnly "org.springframework.boot:spring-boot-devtools"
|
2021-03-16 14:25:15 +01:00
|
|
|
|
2021-11-04 10:57:19 +01:00
|
|
|
implementation "org.springframework.boot:spring-boot-starter-web"
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-jdbc")
|
|
|
|
|
|
|
|
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")
|
2021-09-09 14:56:37 +02:00
|
|
|
|
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-11-04 10:57:19 +01:00
|
|
|
// Enable the validation annotations.
|
|
|
|
//implementation group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final'
|
|
|
|
|
|
|
|
implementation "org.projectlombok:lombok:1.18.22"
|
|
|
|
|
2021-05-18 16:23:20 +02:00
|
|
|
// https://mvnrepository.com/artifact/com.google.guava/guava
|
2021-11-09 22:59:27 +01:00
|
|
|
implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
|
2021-03-16 14:25:15 +01:00
|
|
|
|
2021-12-23 23:25:50 +01:00
|
|
|
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
|
|
|
|
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
|
|
|
|
|
2022-02-14 11:36:00 +01:00
|
|
|
implementation 'io.minio:minio:8.3.6'
|
2021-11-30 17:23:27 +01:00
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
|
2022-01-30 21:14:52 +01:00
|
|
|
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.9.3'
|
|
|
|
// This is required by the minio, as Spring uses a version which is not supported by minio.
|
2021-11-30 17:23:27 +01:00
|
|
|
|
2021-11-09 22:59:27 +01:00
|
|
|
// https://mvnrepository.com/artifact/com.cloudera.impala/jdbc
|
2022-01-30 21:14:52 +01:00
|
|
|
implementation("com.cloudera.impala:jdbc:2.5.31") {
|
|
|
|
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
|
|
|
|
exclude group: 'org.apache.derby', module: 'derby'
|
|
|
|
exclude group: 'org.eclipse.jetty.aggregate', module: 'jetty-all'
|
|
|
|
exclude group: 'log4j', module: 'log4j'
|
|
|
|
exclude group: 'log4j', module: 'apache-log4j-extras'
|
|
|
|
}
|
2021-03-16 14:25:15 +01:00
|
|
|
|
2021-11-09 22:59:27 +01:00
|
|
|
testImplementation group: 'org.springframework.security', name: 'spring-security-test'
|
|
|
|
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
|
|
|
}
|
|
|
|
|
2021-12-06 19:27:39 +01:00
|
|
|
// Set increased lower and upper limits for the java-execution.
|
|
|
|
tasks.withType(JavaExec) {
|
|
|
|
jvmArgs = ['-Xms512m', '-Xmx8g']
|
|
|
|
}
|
|
|
|
|
2021-03-16 17:07:30 +01:00
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2022-01-27 23:41:29 +01:00
|
|
|
}
|