Skip to content
aadrian edited this page Apr 25, 2017 · 8 revisions

Building Mirage-SQL requires a correctly configured Gradle instance.

The simplest way to install and manage Gradle is using SDKMNAN :

% sdk install gradle

To build the Mirage-SQL JAR, run gradle jar from the root directory. This will produce in the /build/libs directory the required artifact.

In order to sign and publish the project artifacts to Sonatype, first you need to specify your credentials in $HOME/.gradle/gradle.properties as follows:

signing.keyId=<<SHORT ID>>
signing.password=<<PWD>>
signing.secretKeyRingFile=/path/to/.gnupg/secring.gpg

ossrhUsername=<<SONATYPE JIRA USER>>
ossrhPassword=<<SONATYPE JIRA PWD>>

Where the short ID can be found with: gpg --list-keys --keyid-format short

Clone this wiki locally