Skip to content

Commit 706b647

Browse files
committed
updated README gradle commands to use the built in gradle wrapper
1 parent bd25736 commit 706b647

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,24 +160,23 @@ List<BagitWarning> warnings = linter.lintBag(rootDir, Arrays.asList(BagitWarning
160160
## Developing Bagit-Java
161161
Bagit-Java uses [Gradle](https://gradle.org/) for its build system. Check out the great [documentation](https://docs.gradle.org/current/userguide/userguide_single.html) to learn more.
162162
##### Running tests and code quality checks
163-
Inside the bagit-java root directory, run `gradle check`.
163+
Inside the bagit-java root directory, run `./gradlew check`.
164164
##### Uploading to maven central
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 official 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 `./gradlew -Pversion=<VERSION> uploadArchives`
169169
1. *Don't forget to tag the repository!*
170170
171171
##### Uploading to jcenter
172172
1. Follow their guide
173173
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`
174+
2. Once you have access, to create an official release and upload it you should specify the version by running `./gradlew -Pversion=<VERSION> bintrayUpload`
175175
1. *Don't forget to tag the repository!*
176176

177177
### Note if using with Eclipse
178-
Simply run `gradle eclipse` and it will automatically create a eclipse project for you that you can import.
178+
Simply run `./gradlew eclipse` and it will automatically create a eclipse project for you that you can import.
179179

180180
### Roadmap for this library
181-
* Further refine reading and writing of bags version 0.93-0.97
182181
* Fix bugs/issues reported with new library (on going)
183182
* Translate to various languages (on going)

0 commit comments

Comments
 (0)