Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

FDT plugin

SamYStudiO edited this page Mar 19, 2017 · 4 revisions

If you are using FDT you should add FDT plugin to you build.gradle file. FDT does not come up with Gradle natively, you'll need to install official gradle plugin. From FDT menu go to help>Eclipse Marketplace... and search for gradle then install Buildship Gradle Integration.

...
apply plugin: "flair.fdt"
...

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 FDT plugin does for you :

  • create and/or configure FDT project files.
  • add run/debug configurations (compilation use FDT integrated compiler).

WARNING

FDT doesn't support multiple SDKs within the same project, this means using run/debug configurations will always use default SDK from your local.properties file.