Jabit/build.gradle

31 lines
564 B
Groovy
Raw Normal View History

allprojects {
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'signing'
sourceCompatibility = 1.7
group = 'ch.dissem.jabit'
2015-06-18 21:59:41 +02:00
version = '0.1.2-SNAPSHOT'
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
// }
}