forked from pedjak/grails-csv
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed Plugin file and added setting.gradle for changing rootProject…
… name and removed off unused dependencies from build.gradle.
- Loading branch information
sachin-verma
committed
Jul 9, 2015
1 parent
059e5cc
commit 5c2ab79
Showing
3 changed files
with
56 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rootProject.name = 'csv' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,22 @@ import grails.core.GrailsApplication | |
import grails.plugins.* | ||
import grails.plugins.csv.controller.RenderCsvMethod | ||
|
||
class GrailsCsvGrailsPlugin extends Plugin { | ||
class CsvGrailsPlugin extends Plugin { | ||
|
||
// the version or versions of Grails the plugin is designed for | ||
def grailsVersion = "3.0.1 > *" | ||
// resources that are excluded from plugin packaging | ||
def pluginExcludes = [ | ||
"grails-app/views/error.gsp" | ||
"grails-app/views/error.gsp", | ||
"grails-app/controllers/**/*" | ||
] | ||
|
||
def observe = [ | ||
"controllers" | ||
] | ||
|
||
def loadAfter = [ | ||
"controllers" | ||
] | ||
|
||
// TODO Fill in these fields | ||
|
@@ -82,19 +91,22 @@ class GrailsCsvGrailsPlugin extends Plugin { | |
// Extra (optional) plugin metadata | ||
|
||
// License: one of 'APACHE', 'GPL2', 'GPL3' | ||
// def license = "APACHE" | ||
def license = "APACHE" | ||
|
||
// Details of company behind the plugin (if there is one) | ||
// def organization = [ name: "My Company", url: "http://www.my-company.com/" ] | ||
|
||
// Any additional developers beyond the author specified above. | ||
def developers = [ [ name: "Sachin Verma", email: "[email protected]"],[ name: "Neha Gupta", email: "[email protected]"] ] | ||
def developers = [ | ||
[name: "Sachin Verma", email: "[email protected]"], | ||
[name: "Neha Gupta", email: "[email protected]"] | ||
] | ||
|
||
// Location of the plugin's issue tracker. | ||
// def issueManagement = [ system: "JIRA", url: "http://jira.grails.org/browse/GPMYPLUGIN" ] | ||
def issueManagement = [ system: "JIRA", url: "https://github.com/pedjak/grails-csv/issues" ] | ||
|
||
// Online location of the plugin's browseable source code. | ||
// def scm = [ url: "http://svn.codehaus.org/grails-plugins/" ] | ||
def scm = [ url: "https://github.com/pedjak/grails-csv/" ] | ||
|
||
Closure doWithSpring() { {-> | ||
// TODO Implement runtime spring config (optional) | ||
|