Version 0.1.0 bump

Updated Gradle file structure so the version and a few other things are only defined once
This commit is contained in:
2015-06-18 21:26:08 +02:00
parent 95efbd0235
commit 72d0fbe550
6 changed files with 29 additions and 45 deletions

View File

@ -1,12 +1,31 @@
apply plugin: 'java'
allprojects {
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'signing'
sourceCompatibility = 1.7
version = '0.0.1'
sourceCompatibility = 1.7
group = 'ch.dissem.jabit'
version = '0.1.0'
repositories {
mavenCentral()
}
repositories {
mavenCentral()
}
dependencies {
testCompile 'junit:junit:4.11'
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
// }
}