Flair Gradle Plugin

Flair is a gradle plugin that helps you build Adobe AIR mobile/desktop projects with Starling and Feathers libraries. Flair also comes up with its own actionscript library to manage your app resources, it actually mimics android resources managment.

License

License

Categories

Categories

Gradle Build Tools
GroupId

GroupId

com.github.samystudio.flair
ArtifactId

ArtifactId

flair-gradle-plugin
Last Version

Last Version

0.7.2
Release Date

Release Date

Type

Type

jar
Description

Description

Flair Gradle Plugin
Flair is a gradle plugin that helps you build Adobe AIR mobile/desktop projects with Starling and Feathers libraries. Flair also comes up with its own actionscript library to manage your app resources, it actually mimics android resources managment.
Project URL

Project URL

https://github.com/SamYStudiO/flair-gradle-plugin
Source Code Management

Source Code Management

https://github.com/SamYStudiO/flair-gradle-plugin

Download flair-gradle-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.samystudio.flair/flair-gradle-plugin/ -->
<dependency>
    <groupId>com.github.samystudio.flair</groupId>
    <artifactId>flair-gradle-plugin</artifactId>
    <version>0.7.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.samystudio.flair/flair-gradle-plugin/
implementation 'com.github.samystudio.flair:flair-gradle-plugin:0.7.2'
// https://jarcasting.com/artifacts/com.github.samystudio.flair/flair-gradle-plugin/
implementation ("com.github.samystudio.flair:flair-gradle-plugin:0.7.2")
'com.github.samystudio.flair:flair-gradle-plugin:jar:0.7.2'
<dependency org="com.github.samystudio.flair" name="flair-gradle-plugin" rev="0.7.2">
  <artifact name="flair-gradle-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.samystudio.flair', module='flair-gradle-plugin', version='0.7.2')
)
libraryDependencies += "com.github.samystudio.flair" % "flair-gradle-plugin" % "0.7.2"
[com.github.samystudio.flair/flair-gradle-plugin "0.7.2"]

Dependencies

test (1)

Group / Artifact Type Version
org.spockframework : spock-core jar 1.0-groovy-2.4

Project Modules

There are no modules declared in this project.

Flair Gradle Plugin Build Status Bintray

Flair is a gradle plugin that helps you build Adobe AIR projects (ios, android and desktop). Flair comes up with all tasks you may already use with Ant (compile, install, launch, etc...) but also with all files you need to start working on your projects. Last but not least Flair greatly improves resource management using an Android like approach.

FEATURES :
  • Comes up with latest stable version of Starling and Feathers.
  • Also includes Signal events and Gestouch.
  • Almost transparent Flair actionscript library to manage your resources.
  • Once you're set up you'll be able to compile/test a template project.
  • Variant builds (build type and product flavor as Android).
  • TexturePacker plugin to auto generate your atlases when compiling.
  • IntelliJ IDEA plugin to configure project IDEA files and allow using standard run/debug configurations from IDEA.
  • FDT plugin to configure project FDT files and allow using standard run/debug configurations from FDT.
  • And more (Flair logger, asdoc generation , R class auto generated resource class as Android, ...).
REQUIREMENTS :
  • Gradle 2.5+
  • Starling 2+
  • Feathers 3+
  • Tested on IntelliJ 15+
  • Tested on FDT 1.16.91+
FULL DOCUMENTATION

Check wiki for more documentation.

DEMO

Checkout Flair Starling Demo if you want to play with a project built using Flair.


QUICK START

Create a gradle project and set up your build.gradle file (located at your project root) with the following:

buildscript {
  repositories {
    jcenter()
  }
  dependencies {
    classpath "com.github.samystudio.flair:flair-gradle-plugin:0.8.2"
  }
}

apply plugin: "flair.ios" // only if your project need to target ios devices
apply plugin: "flair.android" // only if your project need to target android devices
apply plugin: "flair.desktop" // only if your project need to target desktop
apply plugin: "flair.texturepacker" // only if you want to use TexturePacker with your project
apply plugin: "flair.idea" // only if you are using IntelliJ IDEA
apply plugin: "flair.fdt" // only if you are using FDT

flair{
  packageName "com.hello.world" // set your sources root package here (this is required to initialize flair plugin)
}

To initialize plugin you'll need as well to set a valid AIR SDK path in local.properties file from your project root (file should be added automatically when build.gradle and project tree are refreshed), after you set your sdk refresh your build.gradle and project tree again, then your project structure should be set under app folder.


Follow me on Twitter

Versions

Version
0.7.2
0.7.1
0.7.0
0.6.3
0.5.3