Skip to content

Commit

Permalink
fixed some issues with release
Browse files Browse the repository at this point in the history
  • Loading branch information
max committed Jul 15, 2018
1 parent ab73d9e commit ac032d3
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 45 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
- ./gradlew wicket:wicked-charts-wicket15:artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
- ./gradlew wicket:wicked-charts-wicket6:artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
- ./gradlew wicket:wicked-charts-wicket7:artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
- ./gradlew wicket:wicked-charts-wicket8:artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER


# release a new stable version to bintray
- stage: release
Expand All @@ -49,3 +51,4 @@ jobs:
- ./gradlew wicket:wicked-charts-wicket15:bintrayUpload -x test -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
- ./gradlew wicket:wicked-charts-wicket6:bintrayUpload -x test -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
- ./gradlew wicket:wicked-charts-wicket7:bintrayUpload -x test -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
- ./gradlew wicket:wicked-charts-wicket8:bintrayUpload -x test -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ repositories {
}
dependencies {
compile 'de.adesso.wicked-charts:wicked-charts-wicket8:3.0.0'
compile 'de.adesso.wicked-charts:wicked-charts-wicket8:3.1.0'
}
```

Expand All @@ -54,7 +54,7 @@ Maven:
<dependency>
<groupId>de.adesso.wicked-charts</groupId>
<artifactId>wicked-charts-wicket8</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<type>pom</type>
</dependency>

Expand All @@ -69,7 +69,7 @@ repositories {
}
dependencies {
compile 'de.adesso.wicked-charts:wicked-charts-wicket7:3.0.0'
compile 'de.adesso.wicked-charts:wicked-charts-wicket7:3.1.0'
}
```

Expand All @@ -78,7 +78,7 @@ Maven:
<dependency>
<groupId>de.adesso.wicked-charts</groupId>
<artifactId>wicked-charts-wicket7</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<type>pom</type>
</dependency>
```
Expand All @@ -92,7 +92,7 @@ repositories {
}
dependencies {
compile 'de.adesso.wicked-charts:wicked-charts-wicket6:3.0.0'
compile 'de.adesso.wicked-charts:wicked-charts-wicket6:3.1.0'
}
```

Expand All @@ -101,7 +101,7 @@ Maven:
<dependency>
<groupId>de.adesso.wicked-charts</groupId>
<artifactId>wicked-charts-wicket6</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<type>pom</type>
</dependency>
```
Expand All @@ -115,7 +115,7 @@ repositories {
}
dependencies {
compile 'de.adesso.wicked-charts:wicked-charts-wicket15:3.0.0'
compile 'de.adesso.wicked-charts:wicked-charts-wicket15:3.1.0'
}
```

Expand All @@ -124,7 +124,7 @@ Maven:
<dependency>
<groupId>de.adesso.wicked-charts</groupId>
<artifactId>wicked-charts-wicket15</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<type>pom</type>
</dependency>
```
Expand All @@ -138,7 +138,7 @@ repositories {
}
dependencies {
compile 'de.adesso.wicked-charts:wicked-charts-wicket14:3.0.0'
compile 'de.adesso.wicked-charts:wicked-charts-wicket14:3.1.0'
}
```

Expand All @@ -147,7 +147,7 @@ Maven:
<dependency>
<groupId>de.adesso.wicked-charts</groupId>
<artifactId>wicked-charts-wicket14</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<type>pom</type>
</dependency>
```
Expand All @@ -161,7 +161,7 @@ repositories {
}
dependencies {
compile 'de.adesso.wicked-charts:wicked-charts-jsf21:3.0.0'
compile 'de.adesso.wicked-charts:wicked-charts-jsf21:3.1.0'
}
```

Expand All @@ -170,7 +170,7 @@ Maven:
<dependency>
<groupId>de.adesso.wicked-charts</groupId>
<artifactId>wicked-charts-jsf21</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<type>pom</type>
</dependency>
```
Expand All @@ -186,8 +186,8 @@ repositories {
}
dependencies {
compile 'de.adesso.wicked-charts:chartjs-wrapper:3.0.0'
compile 'de.adesso.wicked-charts:highcharts-wrapper:3.0.0'
compile 'de.adesso.wicked-charts:chartjs-wrapper:3.1.0'
compile 'de.adesso.wicked-charts:highcharts-wrapper:3.1.0'
}
```

Expand All @@ -197,14 +197,14 @@ Maven:
<dependency>
<groupId>de.adesso.wicked-charts</groupId>
<artifactId>chartjs-wrapper</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<type>pom</type>
</dependency>

<dependency>
<groupId>de.adesso.wicked-charts</groupId>
<artifactId>highcharts-wrapper</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<type>pom</type>
</dependency>
</dependencies>
Expand Down
47 changes: 24 additions & 23 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,29 +73,6 @@ subprojects {
}
}

publishing {
publications {
mavenPublication(MavenPublication) {
from components.java
artifact sourcesJar {
classifier "sources"
}
artifact javadocJar {
classifier "javadoc"
}
groupId 'de.adesso.wicked-charts'
artifactId project.name
version project.version
pom.withXml {
def root = asNode()
root.appendNode('description', 'Beautiful Charts for Java-based Web Applications')
root.appendNode('name', project.name)
root.appendNode('url', 'https://github.com/adessoag/wicked-charts')
root.children().last() + pomConfig
}
}
}
}

artifactory {
contextUrl = 'http://oss.jfrog.org'
Expand Down Expand Up @@ -142,4 +119,28 @@ subprojects {

publish = true
}

publishing {
publications {
mavenPublication(MavenPublication) {
from components.java
artifact sourcesJar {
classifier "sources"
}
artifact javadocJar {
classifier "javadoc"
}
groupId 'de.adesso.wicked-charts'
artifactId project.name
version project.version
pom.withXml {
def root = asNode()
root.appendNode('description', 'Beautiful Charts for Java-based Web Applications')
root.appendNode('name', project.name)
root.appendNode('url', 'https://github.com/adessoag/wicked-charts')
root.children().last() + pomConfig
}
}
}
}
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-all.zip
4 changes: 2 additions & 2 deletions showcase/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies {
}

// run gradle with "-Dsnapshot=true" to automatically append "-SNAPSHOT" to the version
version = '3.0.0' + (Boolean.valueOf(System.getProperty("snapshot")) ? "-SNAPSHOT" : "")
version = '3.1.0' + (Boolean.valueOf(System.getProperty("snapshot")) ? "-SNAPSHOT" : "")
sourceCompatibility = 1.8

ext {
Expand Down Expand Up @@ -98,7 +98,7 @@ publishing {
}
groupId 'de.adesso.wicked-charts'
artifactId 'wicked-charts-showcase-options'
version '3.0.0'
version '3.1.0'
pom.withXml {
def root = asNode()
root.appendNode('description', 'Beautiful Charts for Java-based Web Applications')
Expand Down
2 changes: 1 addition & 1 deletion showcase/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-all.zip
2 changes: 1 addition & 1 deletion showcase/wicked-charts-showcase-jsf21/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
compile 'de.adesso.wicked-charts:wicked-charts-jsf21:3.0.0'
compile group: 'de.adesso.wicked-charts', name: 'wicked-charts-wicket6', version: "${wicketcharts_version}"
compile project(':wicked-charts-showcase-options')
compile 'org.slf4j:slf4j-log4j12:1.6.2'
compile 'log4j:log4j:1.2.17'
Expand Down
2 changes: 1 addition & 1 deletion showcase/wicked-charts-showcase-options/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
compile 'de.adesso.wicked-charts:highcharts-wrapper:3.0.0'
compile group: 'de.adesso.wicked-charts', name: 'highcharts-wrapper', version: "${wicketcharts_version}"
testCompile 'junit:junit:4.12'
compile 'junit:junit:4.12'
}

0 comments on commit ac032d3

Please sign in to comment.