Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 182 lines (124 sloc) 8.112 kb

GradleFx changelog

v0.8.2

Bugfixes
  • issue 117: The launchAdl task only works on windows
  • issue 118: Specifying too many files via the air.includeFileTrees option can make the AIR packager fail. The new air.fileOptions property should now allow you to specify directories.
  • issue 120: imports in FlexUnitRunner.mxml are wrong if test file as a package that starts with “as”
  • issue 123: Test phase fails if multiple test files have the same class name
  • issue 126: When using a directory path for the build dir, GradleFx only used the last directory name.
New Features
  • issue 127: You can now ignore test failures with the flexUnit.ignoreFailures property
  • issue 125: GradleFx now supports the standalone AIR SDK, which has the mxmlc-cli and compc-cli compilers bundled in it.

v0.8.1

Bugfixes
  • issue 115: Unable to automatically run unit tests on SWC project that have external dependencies

v0.8

This release includes a complete rework of the FlexUnit integration. This allows more customization options and fixes several issues such as not being able to provide custom compiler options to the tests.
To make your build compatible with this rework you’ll have to add the flexunit-uilistener-x.×.swc as a test dependency to your project. This library is included in the FlexUnit distribution.
For more information about the new FlexUnit integration check out http://doc.gradlefx.org/en/latest/flexunit.html

Improvements
  • issue 77: It’s not possible to keep metadata when running FlexUnit tests
  • issue 53: Running AIR module unit tests fails

v0.7.1

Improvements
  • issue 111: Turning on html wrapper generation for swf-based projects when generating Flash Builder project files to make it consistent with the IDE behaviour.
Bugfixes
  • issue 108: SDK files are now granted execution permission on installation to avoid permission issues during compilation/packaging.

v0.7

New Features
  • issue 102: Added mobile support for iOS and Android
Improvements
  • issue 92: Fixed the Container.add() deprecated warning for Gradle 1.6
  • issue 101: The Scaffold plugin now uses the air.applicationDescriptor property to generate the name of the descriptor file

v0.6.4

Bugfixes
  • issue 76: NPE instead of clear error message when not defining the type property
  • issue 75: FrameworkLinkage: clean up playerglobal.swc linking
  • issue 72: FlexUnit: test task doesn’t copy test-resources

v0.6.3

Bugfixes
  • issue 70: Locales aren’t taken into account when executing FlexUnit tests
New features
  • You can now provide your own source file for the html wrapper. See the new htmlWrapper.source and htmlWrapper.tokenReplacements convention properties
  • Added htmlWrapper documentation

v0.6.2

Improvements
  • issue 68: Do not show compiler options by default
  • flashbuilderClean task now also removes the .externalToolBuilders file
Bugfixes
  • issue 69: Compile task should only recompile on source changes

v0.6.1

Improvements
  • issue 57: Proper error message for issue with FlexUnitApplication.mxml
  • issue 58: removed the Air packager timeout which caused problems with bigger projects.
  • flashbuilderClean now removes .FlexUnitSettings which is created when running test through FB
Bug fixes
  • issue 66: Backslashes thrown out during Flash Builder actionscriptProperties file generation

v0.6

New features
  • Added Flex/AIR auto-installation feature. This allows you to define the Flex/AIR SDK as a dependency which GradleFx will then download and install. (see documentation)
  • Added option useDebugRSLSwfs that can be set to true or false to allow the use for framework unsigned SWF files or using signed SWZ files.
Improvements
  • issue 36: Create the compile task immediately. This should remove the need to use afterEvaluate when extending GradleFx tasks.
  • showing compiler options in the logging
Bug fixes
  • issue 64: Project type swc still uses RSL linking for the flex SDK
  • issue 62: The build task should depend on compile
  • issue 55: AIR descriptor file not found on linux
Breaking changes
  • renamed the compile task to compileFlex (you can still use ‘gradle compile’ in command-line, just not in your script)
  • renamed htmlWrapper.width and htmlWrapper.height properties to percentWidth and percentHeight
  • renamed htmlWrapper.express-install and htmlWrapper.version-detection to expressInstall and versionDetection
  • issue 59: complex properties now use curly brackers instead of square brackets (e.g. air {} instead of air [])

v0.5

New features
  • asdoc generation feature (+ ‘fatSwc’ convention property for fat swc generation)
  • added ‘frameworkLinkage’ property: defines how the Flex SDK will be linked. defaults to external for swc-based Flex projects, rsl for swf-based projects and none for pure actionscript projects
  • added the ‘templates’ plugin with a subplugin ‘scaffold’: generates project directory structure and main file. See documentation for more info: https://github.com/GradleFx/GradleFx/wiki/Templates-plugin
  • added the ‘ide’ plugin with a subplugin ‘flashbuilder’: allows you to generate the Adobe Flash Builder project files based on your build configuration. See documentation for more info: https://github.com/GradleFx/GradleFx/wiki/IDE-plugin
Improvements
  • Gradle 1.0 RC3 compatibility
  • Major rework of the FlexUnit integration (greatly simplified the required setup). See documentation for more information: https://github.com/GradleFx/GradleFx/wiki/Flexunit
  • ‘mainClass’ package notation is now also allowed (org.gradlefx.MainApp or org/gradlefx/MainApp.mxml)
  • Improved the error/warning/info messages
Bug fixes
  • Fixed issue 37: resources aren’t added correctly to the swc
  • various other bug fixes

v0.4.2

ATTENTION: Gradle 1.0 milestone 8 is required from now on.

  • issue 30: Added a localization convention property
  • issue 28: Fixed incompatibility between compc and mxmlc compiler arguments when unit testing a library
  • issue 24: Added an ‘air.includeFileTrees’ property which can be used to include file into an AIR package
  • issue 23: Added ‘theme’ dependency scope which makes it easier to add themes
  • issue 22: Fixed compatibility with Gradle 1.0 milestone 8
  • issue 18: Added support for adding folders as file-based dependencies
  • issue 19: Tokens are now allowed in srcDirs parameters (e.g. ‘src/resources/{locale}’

v0.4.1

  • fixed the copyresources task

v0.4

  • added support for AIR projects
  • the copyresources task is now only available in non-swc type projects
  • resources in the directories specified with the resourceDirs property are now included in the swc file
  • put everything in place to make GradleFx compatible with the Maven plugin (there’s still an outstanding bug in the Gradle bugtracker, see http://issues.gradle.org/browse/GRADLE-1963)
  • fixed some FlexUnit support related issues

v0.3.2

ATTENTION: Gradle 1.0 milestone 5 is required from now on.

  • upgraded GradleFx to support Gradle 1.0 milestone 5
  • used the new signing task in Gradle to fully automate the build process of the GradleFx project
  • fixed some path issues with UNIX based operating systems
  • added a convention property called ‘jvmArguments’ which can be used to specify jvm arguments that will be used when running the compc and mxmlc compilers

v0.3.1

  • fixed an issue with external dependencies overwriting internal/merged dependencies causing corrupt swf files.

v0.3.0

  • Added FlexUnit support for executing tests as part of the build. This is optional and any existing builds should continue to work
  • Compiler warnings will now be visible on stdout

v0.2.2

  • Fixed a critical issue where the mainClass could never be found
  • Changed the convention for the output property from “${project.name}.${project.type}” to project.name
  • The output directory for the htmlWrapper task is now created when it doesn’t exist yet

v0.2.1

  • Fixed an issue where overriding the ‘output’ property didn’t work

v0.2

  • Added HTML wrapper generation

v0.1

  • Initial version
Something went wrong with that request. Please try again.