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:
Christian Basler 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 @@
allprojects {
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'signing'
sourceCompatibility = 1.7 sourceCompatibility = 1.7
version = '0.0.1' group = 'ch.dissem.jabit'
version = '0.1.0'
repositories { repositories {
mavenCentral() mavenCentral()
} }
dependencies { task javadocJar(type: Jar) {
testCompile 'junit:junit:4.11' classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives javadocJar, sourcesJar
}
// signing {
// sign configurations.archives
// }
} }

View File

@ -6,17 +6,11 @@ task fatCapsule(type: FatCapsule) {
applicationClass 'ch.dissem.bitmessage.demo.Main' applicationClass 'ch.dissem.bitmessage.demo.Main'
} }
sourceCompatibility = 1.7
version = '0.0.1'
repositories {
mavenCentral()
}
dependencies { dependencies {
compile project(':domain') compile project(':domain')
compile project(':networking') compile project(':networking')
compile project(':repositories') compile project(':repositories')
compile 'org.slf4j:slf4j-simple:1.7.12' compile 'org.slf4j:slf4j-simple:1.7.12'
compile 'args4j:args4j:2.32'
testCompile 'junit:junit:4.11' testCompile 'junit:junit:4.11'
} }

View File

@ -1,12 +1,3 @@
apply plugin: 'java'
sourceCompatibility = 1.7
version = '0.0.1'
repositories {
mavenCentral()
}
dependencies { dependencies {
compile 'org.slf4j:slf4j-api:1.7.12' compile 'org.slf4j:slf4j-api:1.7.12'
compile 'org.bouncycastle:bcprov-jdk15on:1.52' compile 'org.bouncycastle:bcprov-jdk15on:1.52'

View File

@ -55,10 +55,8 @@ import static ch.dissem.bitmessage.utils.UnixTime.DAY;
* <li>streams</li> * <li>streams</li>
* </ul> * </ul>
* The default implementations in the different module builds can be used. * The default implementations in the different module builds can be used.
* </p>
* <p> * <p>
* The port defaults to 8444 (the default Bitmessage port) * The port defaults to 8444 (the default Bitmessage port)
* </p>
*/ */
public class BitmessageContext { public class BitmessageContext {
public static final int CURRENT_VERSION = 3; public static final int CURRENT_VERSION = 3;

View File

@ -1,12 +1,3 @@
apply plugin: 'java'
sourceCompatibility = 1.7
version = '0.0.1'
repositories {
mavenCentral()
}
dependencies { dependencies {
compile project(':domain') compile project(':domain')
testCompile 'org.slf4j:slf4j-simple:1.7.12' testCompile 'org.slf4j:slf4j-simple:1.7.12'

View File

@ -1,12 +1,3 @@
apply plugin: 'java'
sourceCompatibility = 1.7
version = '0.0.1'
repositories {
mavenCentral()
}
dependencies { dependencies {
compile project(':domain') compile project(':domain')
compile 'com.h2database:h2:1.4.187' compile 'com.h2database:h2:1.4.187'