Skip to content

Commit 5102c90

Browse files
author
Arsen A. Gutsal
committed
management statement added to BuildConfig. Plugin version changed
1 parent 0d57055 commit 5102c90

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

GnutchGrailsPlugin.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import org.apache.camel.Exchange
55

66
class GnutchGrailsPlugin {
77

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

2828
def doWithSpring = {
2929

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

grails-app/conf/BuildConfig.groovy

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,24 @@ grails.project.dependency.resolution = {
6565

6666
test("org.eclipse.jetty:jetty-server:9.1.0.v20131115")
6767
}
68-
68+
management {
69+
dependency 'org.springframework:spring-beans:4.0.7.RELEASE'
70+
}
6971
plugins {
70-
compile(":routing:1.4.0")
71-
build(":tomcat:7.0.50")
72-
73-
build(':release:3.0.1', ':rest-client-builder:2.0.1') {
74-
//export = false
75-
}
72+
// plugins for the build system only
73+
build ':tomcat:7.0.52.1'
74+
// plugins for the compile step
75+
compile ':scaffolding:2.1.0'
76+
compile ':cache:1.1.3'
77+
compile ':asset-pipeline:1.8.3'
78+
79+
// plugins needed at runtime but not for compilation
80+
runtime ':hibernate4:4.3.5.2' // or ':hibernate:3.6.10.14'
81+
runtime ':database-migration:1.4.0'
82+
runtime ':jquery:1.11.0.2'
83+
compile(":routing:1.4.0")
84+
85+
build(':release:3.0.1', ':rest-client-builder:2.0.1') {
86+
}
7687
}
7788
}

0 commit comments

Comments
 (0)