Skip to content

howtobuild

Loic Royer edited this page Mar 25, 2016 · 7 revisions

How to build the project

Prerequisites:

Building AutoPilot requires Java JDK 8 installed on the machine. Get it here. Clone the repository on your machine with:

 git clone https://github.com/MicroscopeAutoPilot/AutoPilot.git

Building with Gradle:

The AutoPilot project uses Gradle as the build system. Thanks to the Gradle wrapper you do not need to install Gradle yourself. In the cloned folder, run the following command:

./gradlew build

or in Windows:

gradlew.bat build 

This will build the project. If you want to build the command line tool type:

./gradlew cmdlinetool 

If needed, you can generate Eclipse or Intellij Idea projects with:

./gradlew eclipse

./gradlew idea  
Clone this wiki locally