@groovy.transform.CompileStatic class PythonFlyerPlugin extends java.lang.Object
A Flyer plugin.
A Flyer project is a deployable project that consumes the resources from an Ember subproject.
On top of li-python-deployable, this plugin will setup the dependencies on the resource files from the Ember subproject. To make it easier to access the resources, we will create a link under the Python project, that connects to the resources folder under the Ember project. Since it's a link, developers don't have to rebuild the Python project each time they modify the Ember code.
For the deployment, the plugin will copy the resources into the 'deployable'
folder under the path 'build/
apply plugin: 'python-flyer'
dependencies {
...
resource project(path: ':example-flask-ember-fe', configuration: 'emberStaticContent')
}
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
TASK_PACKAGE_RESOURCE_FILES |
|
static java.lang.String |
TASK_SETUP_RESOURCE_LINK |
| Type | Name and description |
|---|---|
void |
apply(org.gradle.api.Project project) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |