https://github.com/graceframework/grace-gradle-plugin
https://github.com/graceframework/grace-gradle-plugin
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/graceframework/grace-gradle-plugin
- Owner: graceframework
- License: apache-2.0
- Created: 2023-12-02T12:34:00.000Z (about 2 years ago)
- Default Branch: 2020.0.x
- Last Pushed: 2023-12-02T12:41:02.000Z (about 2 years ago)
- Last Synced: 2024-03-15T19:14:45.992Z (almost 2 years ago)
- Language: Groovy
- Size: 724 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Grails Gradle Plugins
========
Latest API Docs: https://grails.github.io/grails-gradle-plugin/latest/api/
Below are the plugins that are provided by the grails-gradle-plugin dependency.
```
buildscript {
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
}
}
```
grails-core
---------
_Todo_: Add the docs
grails-doc
---------
_Todo_: Add the docs
grails-gsp
---------
* Configure GSP Compiling Task
grails-plugin-publish
---------
_Todo_: Add the docs
grails-plugin
---------
* Configure Ast Sources
* Configure Project Name And Version AST Metadata
* Configure Plugin Resources
* Configure Plugin Jar Task
* Configure Sources Jar Task
grails-profile
---------
_Todo_: Add the docs
grails-web
---------
* Adds web specific extensions
Typical Project Type Gradle Plugin Includes
========
Below are typical Gradle plugin applies that certain types of projects should expect. These should be automatically added of you when using `grails create-app` and `grails create-plugin` commands. However, if you wish to enhance or change the scope of your plugin or project you may have to change (add or remove) a grails gradle plugin.
Create App
----
Grails Web Project
-----
A project created with a typical `grails create-app --profile=web`
```
apply plugin: "org.grails.grails-web"
apply plugin: "org.grails.grails-gsp"
```
Grails Web API Project
----
A project created with a typical `grails create-app --profile=web-api`
```
apply plugin: "org.grails.grails-web"
```
Grails Web Micro Project
A project created with a typical `grails create-app --profile=web-micro`
There is no plugins used here as this project type creates a stand alone runnable groovy application and no `build.gradle` file.
Create Plugin
---
Grails Plugin Web Project
A project created with a typical `grails create-plugin --profile=web-plugin`
```
apply plugin: "org.grails.grails-plugin"
apply plugin: "org.grails.grails-gsp"
```
Grails Plugin Web API Project
A project created with a typical `grails create-plugin --profile=web-api`. _Note: No org.grails.grails-plugin include_
```
apply plugin: "org.grails.grails-web"
```
Grails Plugin Web Plugin Project
A project created with a typical `grails create-plugin --profile=plugin`.
```
apply plugin: "org.grails.grails-plugin"
```
Grails Plugin Web Micro Project
A project created with a typical `grails create-plugin --profile=web-micro`
There is no plugins used here as this project type creates a stand alone runnable groovy application and no `build.gradle`` file.