2022-10-03 19:44:58 +02:00
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'maven'
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
apply plugin: 'groovy'
|
|
|
|
|
|
|
|
//plugins {
|
|
|
|
// id 'groovy'
|
|
|
|
// id 'maven-publish'
|
|
|
|
//}
|
2022-09-16 12:56:52 +02:00
|
|
|
|
|
|
|
group = 'eu.dnetlib'
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
|
|
|
mavenCentral()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'commons-io:commons-io:2.6',
|
|
|
|
'com.google.guava:guava:29.0-jre',
|
|
|
|
'org.apache.logging.log4j:log4j-api:2.13.3'
|
|
|
|
testCompile 'org.apache.logging.log4j:log4j-core:2.13.3'
|
|
|
|
testCompile 'org.spockframework:spock-core:1.3-groovy-2.5'
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
|
|
|
|
jar(MavenPublication) {
|
|
|
|
groupId = "$group"
|
|
|
|
artifactId = "uoa-validator-engine2"
|
|
|
|
version = "0.9.0"
|
2022-10-03 19:44:58 +02:00
|
|
|
configuration {
|
|
|
|
source = '1.8'
|
|
|
|
target = '1.8'
|
|
|
|
}
|
2022-09-16 12:56:52 +02:00
|
|
|
from components.java
|
|
|
|
}
|
|
|
|
}
|
2022-10-03 19:44:58 +02:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
name = 'sampleRepo'
|
|
|
|
url = layout.buildDirectory.dir("poms")
|
|
|
|
}
|
|
|
|
}
|
2022-09-16 12:56:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
|
|
|
|
systemProperties(System.getProperties())
|
|
|
|
|
|
|
|
minHeapSize = "256m"
|
|
|
|
maxHeapSize = "4g"
|
|
|
|
|
|
|
|
testLogging {
|
|
|
|
// Make sure output from
|
|
|
|
// standard out or error is shown
|
|
|
|
// in Gradle output.
|
|
|
|
showStandardStreams = true
|
|
|
|
}
|
|
|
|
}
|
2022-10-03 19:44:58 +02:00
|
|
|
|