52 lines
948 B
Groovy
52 lines
948 B
Groovy
plugins {
|
|
id 'groovy'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
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"
|
|
from components.java
|
|
}
|
|
}
|
|
}
|
|
|
|
test {
|
|
|
|
systemProperties(System.getProperties())
|
|
|
|
minHeapSize = "256m"
|
|
maxHeapSize = "4g"
|
|
|
|
testLogging {
|
|
// Make sure output from
|
|
// standard out or error is shown
|
|
// in Gradle output.
|
|
showStandardStreams = true
|
|
}
|
|
}
|