Guide for Twitter4J Developers / Contributors using Gradle
- makes
jar
,javadoc.jar
andsources.jar
$ ./gradlew clean build -x test
- mavenLocal : deploys to
~/.m2/repository/org/twitter4j/
.
$ ./gradlew publishToMavenLocal
- update
versionName
inbuild.gradle
- update
VERSION
inVersion.java
- Commit it
$ git add build.gradle twitter4j-core/src/main/java/twitter4j/Version.java
$ git commit "bump to vX.Y.Z"
- git tag
$ git tag vX.Y.Z
$ git push --tags
- Release to github.io
$ mkdir release_to_github_io
$ cd release_to_github_io
$ git clone git@github.com:takke/takke.github.io.git
$ cd ../
// generate artifacts to `release_to_github_io/takke.github.io.git/maven/org/twitter4j/...`
$ ./gradlew clean publish -x test
$ cd release_to_github_io/takke.github.io.git/
$ git status
$ git add maven
$ git status
$ git commit -m "twitter4j vX.Y.Z"
$ git push