[go: nahoru, domu]

Skip to content

Latest commit

 

History

History
48 lines (24 loc) · 1.49 KB

BUILD_README.md

File metadata and controls

48 lines (24 loc) · 1.49 KB

Building Vert.x

The build uses Gradle. The build script will automatically install the bits it needs if they aren't already installed.

Prerequisites

  • jython - for building python support (even if you don't plan to use Jython)
  • Ensure that the JYTHON_HOME environment variable points to the Jython base directory, or you'll get errors like A problem occurred starting process 'command 'null/jython''.
  • yard - for building ruby docs (you can exclude it passing -x yard to the build tool)

On *nix

Use ./mk

.mk tasks to show the list of tasks

On Windows

Use wmk.bat

wmk.bat tasks to show list of tasks

Maven Central

The JAR components of vert.x can be prepared for Maven repositories and installed locally or uploaded to Maven Central.

To install the JARs into your local Maven cache (~/.m2) execute the command below. (This is effectively the same as uploading and the refreshing the dependencies of your build.)

./mk install

A committer with appropriate access to the org.vert-x group at OSS Sonatype (Maven Central) can upload JARs by configuring the following properties in the file ~/.gradle/gradle.properties. Gradle uses two plugins to do this, the signing and maven plugins.

signing.keyId=12345678
signing.password=YYYYYYYYY
signing.secretKeyRingFile=/Users/<username>/.gnupg/secring.gpg
sonatypeUsername=myusername
sonatypePassword=XXXXXXXXX

To sign, hash and upload the JARs to Maven Central execute:

./mk uploadArchives