diff --git a/build.gradle b/build.gradle index eae7b8e..d4f6478 100644 --- a/build.gradle +++ b/build.gradle @@ -65,6 +65,10 @@ subprojects { project-> apply plugin: "org.gradle.test-retry" apply plugin: "io.spring.dependency-management" + if (project.name.startsWith('grace-plugin')) { + apply plugin: 'org.graceframework.grace-plugin' + } + sourceCompatibility = 11 targetCompatibility = 11 diff --git a/grace-plugin-scaffolding/build.gradle b/grace-plugin-scaffolding/build.gradle index 1792b4d..2d7900e 100644 --- a/grace-plugin-scaffolding/build.gradle +++ b/grace-plugin-scaffolding/build.gradle @@ -8,3 +8,9 @@ dependencies { testImplementation "org.graceframework:grace-plugin-testing:$graceVersion" } + +jar { + enabled = true + archiveClassifier.set('') + includeEmptyDirs = false +} diff --git a/grace-plugin-scaffolding/src/main/groovy/grails/plugin/scaffolding/ScaffoldingGrailsPlugin.groovy b/grace-plugin-scaffolding/src/main/groovy/grails/plugin/scaffolding/ScaffoldingGrailsPlugin.groovy index 3a15590..14e57a9 100644 --- a/grace-plugin-scaffolding/src/main/groovy/grails/plugin/scaffolding/ScaffoldingGrailsPlugin.groovy +++ b/grace-plugin-scaffolding/src/main/groovy/grails/plugin/scaffolding/ScaffoldingGrailsPlugin.groovy @@ -6,21 +6,21 @@ import org.grails.web.servlet.view.GroovyPageViewResolver class ScaffoldingGrailsPlugin extends Plugin { // the version or versions of Grails the plugin is designed for - def grailsVersion = "5.0.0 > *" + def grailsVersion = "2022.0.0 > *" // resources that are excluded from plugin packaging def pluginExcludes = [ "grails-app/views/error.gsp" ] def title = "Scaffolding Plugin" // Headline display name of the plugin - def author = "Graeme Rocher" - def authorEmail = "info@grails.org" + def author = "Michael Yan" + def authorEmail = "rain@rainboyan.com" def description = '''\ -Plugin that generates scaffolded controllers and views for a Grails application. +Plugin that generates scaffolded controllers and views for a Grace application. ''' // URL to the plugin's documentation - def documentation = "http://grails.org/plugin/scaffolding" + def documentation = "https://github.com/graceframework/grace-scaffolding" // Extra (optional) plugin metadata @@ -29,10 +29,10 @@ Plugin that generates scaffolded controllers and views for a Grails application. // Location of the plugin's issue tracker. - def issueManagement = [ system: "Github", url: "https://github.com/grails3-plugins/scaffolding/issues" ] + def issueManagement = [ system: "Github", url: "https://github.com/graceframework/grace-scaffolding/issues" ] // Online location of the plugin's browseable source code. - def scm = [ url: "https://github.com/grails3-plugins/scaffolding" ] + def scm = [ url: "https://github.com/graceframework/grace-scaffolding" ] def loadAfter = ["groovyPages"]