资源算法flair-gradle-plugin

flair-gradle-plugin

2020-04-09 | |  34 |   0 |   0

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 loggerasdoc 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.


上一篇:flair-lms

下一篇:flair-fairy

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...