Skip to content

Commit

Permalink
Grace: update gradle build scripts
Browse files Browse the repository at this point in the history
Fix plugin build
  • Loading branch information
rainboyan committed Mar 2, 2024
1 parent f03e870 commit c58444a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions grace-plugin-scaffolding/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ dependencies {

testImplementation "org.graceframework:grace-plugin-testing:$graceVersion"
}

jar {
enabled = true
archiveClassifier.set('')
includeEmptyDirs = false
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"
def author = "Michael Yan"
def authorEmail = "[email protected]"
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

Expand All @@ -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"]

Expand Down

0 comments on commit c58444a

Please sign in to comment.