Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate Buildscript by publishing to gradlePluginPortal #340

Open
codeconsole opened this issue Sep 23, 2024 · 1 comment
Open

Eliminate Buildscript by publishing to gradlePluginPortal #340

codeconsole opened this issue Sep 23, 2024 · 1 comment
Assignees

Comments

@codeconsole
Copy link
Contributor

codeconsole commented Sep 23, 2024

if grails-gradle-plugin is published to gradlePluginPortal,

buildSrc/build.gradle
settings.gradle
and a buildscript { }

are no longer needed for Grails Apps.

Also remove need for

apply plugin:"org.grails.grails-web"
apply plugin:"org.grails.grails-gsp"

grails-gradle-plugin currently consists of

org.grails.grails-core
org.grails.grails-doc
org.grails.grails-plugin.properties
org.grails.grails-profile.properties
org.grails.grails-web.properties
org.grails.internal.grails-plugin-publish
org.grails.internal.grails-profile-publish

org.grails.grails-web should automatically be applied if org.grails:grails-web-url-mappings is present
org.grails.grails-gsp should automatically be applied if org.grails:grails-gsp is present

@codeconsole codeconsole changed the title Eliminate Buildscript by publishing Gradle Plugins to gradlePluginPortal Eliminate Buildscript by publishing to gradlePluginPortal Sep 23, 2024
@davydotcom
Copy link
Contributor

I suggest moving the contents of grails-web into the grails-core gradle plugin and simplifying some of the structure. A lot of plugins were split instead of just using config to enable/disable available tasks a plugin provides

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants