2014-04-04

gaelyk gradle tasks

google app engine 개발하려다 gaelyk까지 왔네. 원래는 스프링으로 할라 했는데 이거 괜한 짓 해서 시간만 낭비하는거 아닌지 몰겠다.

아래는 gaelyk의 build.gradle 파일에서 제공하는 gradle task 목록이다. 가끔 참고할 것 같아서 여기 옮겨 둔다.

[sts] -----------------------------------------------------
[sts] Starting Gradle build for the following tasks: 
[sts]      tasks
[sts] -----------------------------------------------------
Changed groovy version because running on Mac OS X
:tasks

------------------------------------------------------------
All tasks runnable from root project
------------------------------------------------------------

Build tasks
-----------
assemble - Assembles the outputs of this project.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
classes - Assembles classes 'main'.
clean - Deletes the build directory.
functionalTestClasses - Assembles classes 'functionalTest'.
jar - Assembles a jar archive containing the main classes.
testClasses - Assembles classes 'test'.
war - Generates a war archive with all the compiled classes, the web-app content and the libraries.

Build Setup tasks
-----------------
init - Initializes a new Gradle build. [incubating]
wrapper - Generates Gradle wrapper files. [incubating]

Documentation tasks
-------------------
groovydoc - Generates Groovydoc API documentation for the main source code.
javadoc - Generates Javadoc API documentation for the main source code.

Gaelyk tasks
------------
gaelykConvertTemplates - Converts templates to scripts.
gaelykPrecompileTemplates - Precompiles groovy templates scripts generated by convert task.
gaelykSynchronizeResources - Synchronizes changes in source directory to the exploded app directory for live reload as well as the generated data back to project root into data-backup directory

Google App Engine tasks
-----------------------
appengineConfigureBackends - Configures backends on App Engine.
appengineCronInfo - Get cron information from App Engine.
appengineDeleteBackend - Deletes backend on App Engine.
appengineDownloadApp - Retrieves the most current version of your application.
appengineDownloadSdk - Downloads and sets Google App Engine SDK.
appengineEndpointsGetClientLibs - Generate Endpoints java client libraries for classes defined in web.xml
appengineEndpointsGetDiscoveryDocs - Generate Endpoints discovery docs for classes defined in web.xml
appengineEndpointsInstallClientLibs - Generate Endpoints java client libraries for classes defined in web.xml and install them into the local Maven repository
appengineEnhance - Enhances DataNucleus classes.
appengineExplodeApp - Explodes WAR archive into directory.
appengineFunctionalTest - Runs functional tests
appengineListBackends - Lists backends on App Engine.
appengineLogs - Download logs from App Engine.
appengineRollback - Undoes a partially completed update for the given application.
appengineRollbackBackend - Rolls back backend on App Engine.
appengineRun - Starts up a local App Engine development server.
appengineStartBackend - Starts backend on App Engine.
appengineStop - Stops local App Engine development server.
appengineStopBackend - Stops backend on App Engine.
appengineUpdate - Updates your application on App Engine.
appengineUpdateAll - Updates your application and all backends on App Engine.
appengineUpdateAllBackends - Updates all backends on App Engine.
appengineUpdateBackend - Updates backend on App Engine.
appengineUpdateCron - Updates scheduled tasks definition (known as cron jobs) on App Engine.
appengineUpdateDos - Updates DoS protection configuration on App Engine.
appengineUpdateIndexes - Updates indexes on App Engine.
appengineUpdateQueues - Updates task queues on App Engine.
appengineVacuumIndexes - Deletes unused indexes on App Engine.
appengineVersion - Prints detailed version information about the SDK, Java and the operating system.

Help tasks
----------
dependencies - Displays all dependencies declared in root project 'kmadata-war'.
dependencyInsight - Displays the insight into a specific dependency in root project 'kmadata-war'.
help - Displays a help message
projects - Displays the sub-projects of root project 'kmadata-war'.
properties - Displays the properties of root project 'kmadata-war'.
tasks - Displays the tasks runnable from root project 'kmadata-war'.

Verification tasks
------------------
check - Runs all checks.
test - Runs the unit tests.

Rules
-----
Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.
Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a configuration.
Pattern: clean<TaskName>: Cleans the output files of a task.
Pattern: gaelykCreateController<ControllerName>: Creates a Gaelyk controller (Groovlet).
Pattern: gaelykCreateView<ViewName>: Creates a Gaelyk view (Groovy template).

To see all tasks and more detail, run with --all.

BUILD SUCCESSFUL

Total time: 0.554 secs
[sts] -----------------------------------------------------
[sts] Build finished succesfully!
[sts] Time taken: 0 min, 0 sec
[sts] -----------------------------------------------------