Skip to content

Commit 4c6cb6d

Browse files
committed
updated README with info on how to upload to bintray as well as maven central
1 parent c1e89a4 commit 4c6cb6d

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,13 @@ Inside the bagit-java root directory, run `gradle check`.
165165
1. Follow their guides
166166
1. http://central.sonatype.org/pages/releasing-the-deployment.html
167167
2. https://issues.sonatype.org/secure/Dashboard.jspa
168-
2. Once you have access, to create an office release and upload it you should specify the version by running `gradle -Pversion=<VERSION> uploadArchives`
168+
2. Once you have access, to create an official release and upload it you should specify the version by running `gradle -Pversion=<VERSION> uploadArchives`
169+
1. *Don't forget to tag the repository!*
170+
171+
##### Uploading to jcenter
172+
1. Follow their guide
173+
1. https://github.com/bintray/bintray-examples/tree/master/gradle-bintray-plugin-examples
174+
2. Once you have access, to create an official release and upload it you should specify the version by running `gradle -Pversion=<VERSION> bintrayUpload`
169175
1. *Don't forget to tag the repository!*
170176

171177
### Note if using with Eclipse

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ plugins {
1212
}
1313
apply from: 'eclipse.gradle'
1414
apply from: 'bintray.gradle'
15+
apply from: 'maven-central.gradle'
1516
apply from: 'code-quality.gradle'
1617
apply from: 'message-bundle.gradle'
1718

maven-central.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'signing'
55
group = 'gov.loc'
66

77
//javadocs and sources required for uploading to maven central
8-
task javadocJar(type: Jar) {
8+
/*task javadocJar(type: Jar) {
99
group "Build"
1010
description "Create the jar that contains all the class documentation (javadoc)."
1111
classifier = 'javadoc'
@@ -17,7 +17,7 @@ task sourcesJar(type: Jar) {
1717
description "Create the jar that contains all the .class files."
1818
classifier = 'sources'
1919
from sourceSets.main.allSource
20-
}
20+
}*/
2121

2222
artifacts {
2323
archives javadocJar

0 commit comments

Comments
 (0)