forked from atom/atom
-
Notifications
You must be signed in to change notification settings - Fork 0
Build
Adrian Vovk edited this page Nov 30, 2016
·
1 revision
The Substance IDE uses Gradle as its build system.
To build a Gradle project, just run build:run
from your Command Palette.
-
build:run
: Runs the project. Compiles the code and runs it. On Android, this also uses ADB to install and run the APK. -
build:debug
: WIP -
build: release
: Builds a package that can be distributed. A Jar by default.
To change the way the IDE handles builds, open settings. Then go to "Packages", then find "build fusion". Select it. This brings up the settings for the compiler. Go to advanced. Here you have a few options.
- Preset
- Gradle - Compile any standard Gradle project. This is the default
- Avian - Compile a Gradle project, but then package it with Avian. WIP
- Fusion - Compile a special Fusion project, which doesn't have a standard yet. This will eventually become the default though. WIP
- Android - Compile Android projects WIP
- Custom - Use custom configuration options
- Run task
- Specifies what task
build:run
should run - Default:
run
- Debug task
- Specifies what task
build:debug
should run. - Default for or Android preset:
assembleDebug
- Default for everything else: WIP
- Release task
- Specifies what task
build:release
runs - Default:
jar
- Build file
- Specifies the filename of the build instructions.
- Default:
build.gradle