Skip to content

Commit

Permalink
Sync with Griffon 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Jun 7, 2012
1 parent 6453ef3 commit 7362e86
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion MybatisGriffonAddon.groovy
Expand Up @@ -36,7 +36,7 @@ class MybatisGriffonAddon {
}
}

def events = [
Map events = [
ShutdownStart: { app ->
MybatisConnector.instance.disconnect(app)
}
Expand Down
4 changes: 2 additions & 2 deletions MybatisGriffonPlugin.groovy
Expand Up @@ -18,9 +18,9 @@
*/
class MybatisGriffonPlugin {
// the plugin version
String version = '0.3'
String version = '0.4'
// the version or versions of Griffon the plugin is designed for
String griffonVersion = '0.9.5 > *'
String griffonVersion = '1.0.0 > *'
// the other plugins this plugin depends on
Map dependsOn = [datasource: '0.3']
// resources that are included in plugin packaging
Expand Down
2 changes: 1 addition & 1 deletion application.properties
@@ -1,3 +1,3 @@
app.griffon.version=0.9.5-rc2
app.griffon.version=1.0.0
app.name=mybatis
plugins.datasource=0.3
16 changes: 14 additions & 2 deletions griffon-app/conf/BuildConfig.groovy
Expand Up @@ -2,9 +2,7 @@ griffon.project.dependency.resolution = {
inherits "global"
log "warn"
repositories {
griffonPlugins()
griffonHome()
griffonCentral()
mavenCentral()
}
dependencies {
Expand All @@ -21,3 +19,17 @@ griffon {
footer = "<br/><br/>Made with Griffon (@griffon.version@)"
}
}

log4j = {
// Example of changing the log pattern for the default console
// appender:
appenders {
console name: 'stdout', layout: pattern(conversionPattern: '%d [%t] %-5p %c - %m%n')
}

error 'org.codehaus.griffon',
'org.springframework',
'org.apache.karaf',
'groovyx.net'
warn 'griffon'
}
2 changes: 1 addition & 1 deletion scripts/_Events.groovy
Expand Up @@ -52,4 +52,4 @@ collectMappers = {
writer.println(mappers.join(','))
}
}
}
}

0 comments on commit 7362e86

Please sign in to comment.