Skip to content

BuildInstruction

TAKEUCHI Hiroaki edited this page Mar 26, 2022 · 21 revisions

Build Instruction

Guide for Twitter4J-v2 Developers / Contributors

Use IntelliJ IDEA Community Edition.

Build

  • makes jar, javadoc.jar and sources.jar
$ ./gradlew clean build -x test
  • mavenLocal : deploys to deploy to ~/.m2/repository/io/github/takke/jp.takke.twitter4j-v2/.
$ ./gradlew :twitter4j-v2-support:publishToMavenLocal

Release

$ git add gradle.properties CHANGELOG.md
$ git commit -m "bump to vX.Y.Z"
  • Test
$ ./gradlew clean test
  • git tag
$ git tag vX.Y.Z
$ git push --tags
$ git push
  • Publish to staging
$ ./gradlew :twitter4j-v2-support:publish
Clone this wiki locally