-
Notifications
You must be signed in to change notification settings - Fork 6
Obtain the Source Code, Build and Test
Rikka0_0小六花 edited this page May 13, 2020
·
2 revisions
JDK & Git must be installed and accessible.
You can use the gradle wrapper included (gradlew) instead of manually installing another gradle.
On Windows, open either Command Prompt or PowerShell, then run the following commands. Linux users should give the gradlew executable access before running gradlew: "chmod +x gradlew" and replace "gradlew.bat" with "./gradlew". For mac users, eplace "gradlew.bat" with "bash gradlew".
Commands
$ git clone https://github.com/RoyalAliceAcademyOfSciences/SimElectricity.git
$ git submodule update --init
$ cd SimElectricity/
$ gradlew.bat runData
Task "runData" will always return with fail, ignore it as it is normal.
Commands $ gradlew build
You can collect artifacts at build\libs.
Commands
$ cd build/libs/
$ ls -l