You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aadrian edited this page Nov 5, 2017
·
8 revisions
Mirage-SQL consists of the following modules now:
Mirage-SQL - miragesql-2.1.0.jar - the core functionality
Mirage-SQL Test - miragesql-test-2.1.0.jar - the testing functionality
Mirage-SQL Integration - miragesql-integration-2.1.0.jar - the integration with Spring, Guice and Seasar2
The build and publishing order is also that above (because of module dependencies).
The steps below must be performed for each module.
Prerequisites
Building Mirage-SQL requires Java 8 and a correctly configured Gradle 4.x instance.
The simplest way to install and manage Gradle instances, is by using SDKMNAN:
% sdk install gradle
Building
To build the Mirage-SQL JAR only, run gradle jar from the root directory. This will produce in the /build/libs directory the required artifact.
To build all the Mirage-SQL artifacts, just run gradle build from the root directory.
Publishing
In order to sign and publish the project artifacts to Sonatype, first you need to specify/configure your credentials
in $HOME/.gradle/gradle.properties as follows: