-
Notifications
You must be signed in to change notification settings - Fork 3
IDEA plugin
If you are using IntelliJ IDEA you should add IDEA plugin to you build.gradle
file.
...
apply plugin: "flair.idea"
...
This will automatically configure you workspace and add run/debug configurations for each platform/variant you may use (You may need to refresh you build.gradle
to make these changes applied). Here is a listing of what IDEA plugin does for you :
- create and/or configure iml file.
- create and/or configure .idea/modules.xml.
- add run/debug configurations (compilation use gradle task).
When running run/debug configurations you may got a alert with missing app descriptor file, unfortunately idea can't run a run/debug configuration if this file is missing even though run/debug configuration is configured to create it with some dependencies ("before launch" tasks).
So you may need to run build/assembleAll
or build/assembleXxx
task manually if your build folder does not contain the process resources for variant you want to run. This will be needed each time you delete your build
folder.
You may add a vote from IntelliJ issue tracker to fix this.