31 lines
555 B
Groovy
31 lines
555 B
Groovy
allprojects {
|
|
apply plugin: 'java-library'
|
|
sourceCompatibility = 1.7
|
|
targetCompatibility = 1.7
|
|
|
|
version 'v0.13.0'
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
tasks.withType(Test) {
|
|
testLogging {
|
|
events "skipped", "failed"
|
|
showStandardStreams = true
|
|
exceptionFormat = 'full'
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
}
|
|
}
|
|
|