This file contains hidden or 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
| allprojects { | |
| task clean << { task -> | |
| ant.exec(executable: "grails", dir: "$task.project.projectDir", failonerror: true) { | |
| arg line: "clean" | |
| } | |
| } | |
| } | |
| task test << { | |
| ant.exec(executable: "grails", dir: "$projectDir", failonerror: true) { |
This file contains hidden or 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
| package com.energizedwork.grails.plugins.jodatime; | |
| import grails.converters.JSON; | |
| import org.codehaus.groovy.grails.web.converters.exceptions.ConverterException; | |
| import org.codehaus.groovy.grails.web.converters.marshaller.ObjectMarshaller; | |
| import org.codehaus.groovy.grails.web.json.JSONException; | |
| import org.joda.time.DateTime; | |
| import org.joda.time.DateTimeZone; | |
| import org.joda.time.format.DateTimeFormat; | |
| import org.joda.time.format.DateTimeFormatter; |
This file contains hidden or 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
| includeTargets << grailsScript("_GrailsInit") | |
| includeTargets << grailsScript("_PluginDependencies") | |
| target('default': "Prepares development environment") { | |
| depends(installPlugins, installDependencies) | |
| event("StatusFinal", ["Done"]) | |
| } | |
| target(installPlugins: "Installs all plugins") { | |
| depends(resolveDependencies) |
This file contains hidden or 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
| import groovy.xml.dom.DOMCategory | |
| includeTargets << grailsScript("_GrailsInit") | |
| includeTargets << grailsScript("_GrailsPlugins") | |
| def getAvailablePluginVersions = { | |
| def plugins = [:] | |
| eachRepository {repo, url -> | |
| use(DOMCategory) { | |
| pluginsList.'plugin'.each {plugin -> |
NewerOlder