GradleFx is a Gradle plugin which adds some common targets used in almost every Flex/Actionscript project.
It can create both SWC, SWF and AIR files. The plugin uses the compc and mxmlc java tasks under the hood.
All compiler arguments are supported. Some are automatically filled in by the plugin (like source directory,
dependencies) and other more specific arguments can be provided to the plugin by adding them on the
additionalCompilerOptions convention property.
Features:
- convention-over-configuration
- dependency management
- multi-project support
- source file change detection
- SWC, SWF and AIR project support
- FlexUnit support
- AsDoc support
- Adobe Flash Builder & Intellij project generation
- project scaffolding
- Automatic Flex/AIR SDK installation
- Mobile (Android & iOS) support
- Follow us on Twitter for the latest updates: https://twitter.com/GradleFx
- Documentation: http://doc.gradlefx.org
- Examples: https://github.com/GradleFx/GradleFx-Examples
- Help & Support: http://support.gradlefx.org/
- Bug Tracking: https://github.com/GradleFx/GradleFx/issues
- Changelog: https://github.com/GradleFx/GradleFx/blob/master/CHANGELOG.textile
This fork is a drop-in replacement for the original GradleFx plugin. It aims to fix important bugs that were never fixed in the original because of its lack of active maintenance.
To add this fork of GradleFx to your Gradle project, remove the original plugin then add the following to the top of your build.gradle
file:
buildscript {
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'com.github.ConsoleLogLuke:GradleFx:-SNAPSHOT'
}
}
apply plugin: 'gradlefx'
- Fixed Gradle 6 support
- Fixed builds failing on Windows if a module contains a large number of resources
- Updated the Gradle wrapper from Gradle 2.5 to 6.9
- Updated all dependencies to their latest versions
- The plugin doesn’t work with Gradle 7