31 lines
555 B
Groovy
31 lines
555 B
Groovy
allprojects {
|
|
apply plugin: 'java'
|
|
apply plugin: 'maven'
|
|
apply plugin: 'signing'
|
|
|
|
sourceCompatibility = 1.7
|
|
group = 'ch.dissem.jabit'
|
|
version = '0.1.1'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
task javadocJar(type: Jar) {
|
|
classifier = 'javadoc'
|
|
from javadoc
|
|
}
|
|
|
|
task sourcesJar(type: Jar) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
artifacts {
|
|
archives javadocJar, sourcesJar
|
|
}
|
|
|
|
// signing {
|
|
// sign configurations.archives
|
|
// }
|
|
} |