Skip to content

Commit

Permalink
fixed simplicityitself#60 1.0.3 release and GWT 2.5.1 default
Browse files Browse the repository at this point in the history
  • Loading branch information
oniseijin committed Mar 28, 2015
1 parent 0df5c5f commit 176d52c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
16 changes: 8 additions & 8 deletions GwtGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import org.codehaus.groovy.grails.plugins.gwt.DefaultGwtServiceInterfaceGenerato
import org.codehaus.groovy.grails.web.plugins.support.WebMetaUtils

class GwtGrailsPlugin {
def version = "1.0"
def version = "1.0.3"
def grailsVersion = "2.0 > *"
def title = "The Google Web Toolkit for Grails."
def description = """\
Expand Down Expand Up @@ -57,7 +57,7 @@ requests.

// Bean for generating RPC interfaces for services.
gwtInterfaceGenerator(DefaultGwtServiceInterfaceGenerator)
}
}

/**
* Registers the common web-related dynamic properties on services
Expand Down Expand Up @@ -88,7 +88,7 @@ requests.
'filter-class'('org.codehaus.groovy.grails.plugins.gwt.GwtCacheControlFilter')
}
}

// Place the Shiro filter after the Spring character encoding filter, otherwise the latter filter won't work.
def filter = xml.'filter-mapping'.find { it.'filter-name'.text() == "charEncodingFilter" }
filter + {
Expand Down Expand Up @@ -119,17 +119,17 @@ requests.
def grailsClass = application.addArtefact(ActionHandlerArtefactHandler.TYPE, event.source)

// Re-register the action handler bean.
def beans = beans {
def beans = beans {
final c = configureActionHandler.clone()
c.delegate = delegate
c.call(grailsClass)
}

if (event.ctx) {
if (event.ctx) {
beans.registerBeans(event.ctx)
}
}
}
}
}

def onApplicationChange = { event ->
}
Expand All @@ -145,7 +145,7 @@ requests.
bean.autowire = "byName"
}
}

/**
* Searches a given directory for any GWT module files, and
* returns a list of their fully-qualified names.
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ Add the plugin, plus the extended-dependency-manager plugin for accessing the cu
```
plugins {
build ":extended-dependency-manager:0.5.5"
compile ":gwt:1.0", {
compile ":gwt:1.0.3", {
transitive=false
}
}
```

4 changes: 2 additions & 2 deletions grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ grails.project.dependency.resolution = {
}
dependencies {
test ("org.spockframework:spock-grails-support:0.7-groovy-2.0") { export = false }
build 'com.google.gwt:gwt-user:2.4.0', {
build 'com.google.gwt:gwt-user:2.5.1', {
export=false
}
}
Expand All @@ -25,4 +25,4 @@ grails.project.dependency.resolution = {
grails.release.scm.enabled = false

// Needed to run commands locally that trip over the GWT_HOME check.
gwt { version = "2.4.0" }
gwt { version = "2.5.1" }

0 comments on commit 176d52c

Please sign in to comment.