69 lines
1.3 KiB
Plaintext
69 lines
1.3 KiB
Plaintext
apply plugin: 'java'
|
|
apply plugin: 'maven'
|
|
apply plugin: 'maven-publish'
|
|
apply plugin: '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"
|
|
configuration {
|
|
source = '1.8'
|
|
target = '1.8'
|
|
}
|
|
from components.java
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
name = 'sampleRepo'
|
|
url = layout.buildDirectory.dir("poms")
|
|
}
|
|
}
|
|
}
|
|
|
|
test {
|
|
|
|
systemProperties(System.getProperties())
|
|
|
|
minHeapSize = "256m"
|
|
maxHeapSize = "4g"
|
|
|
|
testLogging {
|
|
// Make sure output from
|
|
// standard out or error is shown
|
|
// in Gradle output.
|
|
showStandardStreams = true
|
|
}
|
|
}
|
|
|