GradleFx/GradleFx — Issue #23: Add theme support
Author: RIAstar
Created: 2012-02-27 16:58:38+00:00
State: open

[Feature request]
Add 'theme' to the list of dependency scopes, so we can pull a theme library artifact from a repository and apply it as the theme of an application. Only applicable to the 'swf' project type.

As an example:

dependencies {
theme 'my.repo.group:fx-theme:1.0-SNAPSHOT@swc'
}

would be way more elegant than constructs like this one:

repositories {
flatDir {
name 'flatRepo'
dirs flatRepoDir //path/to/my/artifacts in gradle.properties file
}
}

additionalCompilerOptions = [
"-theme+=${flatRepo}/fx-theme-1.0-SNAPSHOT.swc"
]