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 @@
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
// }
}

View File

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

View File

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

View File

@ -55,10 +55,8 @@ import static ch.dissem.bitmessage.utils.UnixTime.DAY;
* <li>streams</li>
* </ul>
* The default implementations in the different module builds can be used.
* </p>
* <p>
* The port defaults to 8444 (the default Bitmessage port)
* </p>
*/
public class BitmessageContext {
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 {
compile project(':domain')
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 {
compile project(':domain')
compile 'com.h2database:h2:1.4.187'