Skip to content

Commit

Permalink
fix issue#9
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Siprell committed Jul 11, 2015
1 parent 0d87628 commit fcbf764
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -20,6 +20,5 @@ stacktrace.log
/target
/target-eclipse
/web-app

grails-drools.sublime-project
grails-drools.sublime-workspace
2 changes: 1 addition & 1 deletion DroolsGrailsPlugin.groovy
Expand Up @@ -10,7 +10,7 @@ import org.springframework.core.io.FileSystemResource

class DroolsGrailsPlugin {

def version = "1.1.0"
def version = "1.1.1"
def grailsVersion = "2.3 > *"
def title = "Drools Plugin"
def author = "Ken Siprell"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -6,11 +6,11 @@ The plugin has been tested using the [sample application](https://github.com/ke

* Drools 6.2.0.Final

* Grails versions 2.3.11 and 2.4.5
* Grails versions 2.3.11, 2.4.5, and 2.5.0

* OSX 10.10.3
* OSX 10.10.4

* JDK 1.7.0_75
* JDK 1.8.0_45

If you want to use the plugin with a version of Grails earlier than 2.3.0, see [Grails 2.2.5 and Earlier](https://github.com/kensiprell/grails-drools/wiki/Grails-2.2.5-and-Earlier).

Expand Down Expand Up @@ -75,7 +75,7 @@ Edit your `BuildConfig.groovy`:

plugins {
// other plugins
compile ":drools:1.1.0"
compile ":drools:1.1.1"
}

### Configuration
Expand Down
7 changes: 1 addition & 6 deletions scripts/_Events.groovy
Expand Up @@ -6,12 +6,7 @@ drlFileLocation = grailsSettings.config.grails.plugin.drools.drlFileLocation ?:

eventCompileEnd = {
if (configurationType == "droolsConfigGroovy") {
def shell
if (Environment.current == Environment.TEST) {
shell = new GroovyShell(new GroovyClassLoader())
} else {
shell = new GroovyShell()
}
def shell = new GroovyShell(new GroovyClassLoader())
shell.run(new File("$droolsPluginDir/scripts/_WriteDroolsContextXml.groovy"))
}
copyFiles(buildSettings.resourcesDir)
Expand Down

0 comments on commit fcbf764

Please sign in to comment.