Skip to content

Commit

Permalink
Allow mirroring to jcenter
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Oct 17, 2016
1 parent f848dd6 commit 1b4c96d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
22 changes: 20 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apply plugin: 'maven'
apply plugin: 'maven-publish'


version = '0.1.9'
version = '0.1.10'
sourceCompatibility = 1.7
targetCompatibility = 1.7

Expand Down Expand Up @@ -47,12 +47,25 @@ javadoc {
exclude '**/*.jj'
}

task sourcesJar(type: Jar) {
from mainSource, testSource
classifier = 'sources'
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
// options.encoding = 'UTF-8'
}

publishing {
publications {
MyPublication(MavenPublication) {
from components.java
groupId 'ch.poole'
artifactId 'ConditionalRestrictionParser'
artifact sourcesJar
artifact javadocJar
}
}
}
Expand All @@ -67,7 +80,12 @@ bintray {
licenses = ['BSD 3-Clause']
vcsUrl = 'https://github.com/simonpoole/CondtionalRestrictionParser.git'
version {
name = '0.1.9'
name = '0.1.10'
released = new Date()
gpg {
sign = true //Determines whether to GPG sign the files. The default is false
passphrase = System.getenv('BINTRAY_PASSPHRASE')
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* Container for an OpenStreetMap conditional restriction
* @see http://wiki.openstreetmap.org/wiki/Conditional_restrictions
* @see <a href="http://wiki.openstreetmap.org/wiki/Conditional_restrictions">conditional restrictions on the OpenStreetMap wiki</a>
* @author simon
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.List;

import org.junit.Test;
Expand Down

0 comments on commit 1b4c96d

Please sign in to comment.