Skip to content

Commit

Permalink
management statement added to BuildConfig. Plugin version changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Arsen A. Gutsal committed Mar 14, 2015
1 parent 0d57055 commit 5102c90
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
3 changes: 2 additions & 1 deletion GnutchGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.apache.camel.Exchange

class GnutchGrailsPlugin {

def version = "0.2.3"
def version = "0.2.3.1"
def grailsVersion = "2.2 > *"
def loadAfter = ['controllers', 'services', 'routing']
def title = "Grails Apache Nutch alternative"
Expand All @@ -27,6 +27,7 @@ Use "Apache Camel":http://camel.apache.org/ as integration framework and "Apache

def doWithSpring = {

println "|:" + application.config.gnutch
// Defaulting config
def conf = application.config.gnutch ?: [:]

Expand Down
25 changes: 18 additions & 7 deletions grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,24 @@ grails.project.dependency.resolution = {

test("org.eclipse.jetty:jetty-server:9.1.0.v20131115")
}

management {
dependency 'org.springframework:spring-beans:4.0.7.RELEASE'
}
plugins {
compile(":routing:1.4.0")
build(":tomcat:7.0.50")

build(':release:3.0.1', ':rest-client-builder:2.0.1') {
//export = false
}
// plugins for the build system only
build ':tomcat:7.0.52.1'
// plugins for the compile step
compile ':scaffolding:2.1.0'
compile ':cache:1.1.3'
compile ':asset-pipeline:1.8.3'

// plugins needed at runtime but not for compilation
runtime ':hibernate4:4.3.5.2' // or ':hibernate:3.6.10.14'
runtime ':database-migration:1.4.0'
runtime ':jquery:1.11.0.2'
compile(":routing:1.4.0")

build(':release:3.0.1', ':rest-client-builder:2.0.1') {
}
}
}

0 comments on commit 5102c90

Please sign in to comment.