Permalink
Browse files

updating example

  • Loading branch information...
narkisr committed Mar 6, 2012
1 parent 646b6d8 commit ccf5159cdeb71f313f9a916dfb7929767cc49eb4
Showing with 17 additions and 2 deletions.
  1. +16 −1 example/build.gradle
  2. +1 −1 example/kenshoo-maven-repo
View
@@ -4,6 +4,7 @@ version='2'
apply plugin: 'base'
apply plugin: 'liquibase'
+type='mysql' // setting default type value for genconf
// required for the standalone version used in packaging
repositories {
@@ -16,10 +17,24 @@ buildscript {
}
dependencies {
- classpath 'com.kenshoo.gradle.plugins:gradle-liquibase-plugin:1.1.2'
+ classpath 'com.kenshoo.gradle.plugins:gradle-liquibase-plugin:1.3.0'
}
}
+configurations {
+ driver
+}
+
+dependencies {
+ driver group: 'mysql', name: 'mysql-connector-java', version: '5.1.16'
+}
+
+// in order to add the driver to the script classloader, adding it to deps does not work
+URLClassLoader loader = GroovyObject.class.classLoader
+configurations.driver.each {File file -> loader.addURL(file.toURL()) }
+
+// adding it to the standalone packaged jar
+project.buildscript.dependencies.add('custom','mysql:mysql-connector-java:5.1.16')
// the published zip
artifacts {
Submodule kenshoo-maven-repo updated 22 files
+ com/kenshoo/gradle/plugins/gradle-liquibase-plugin/1.3.0/gradle-liquibase-plugin-1.3.0.jar
+1 −0 com/kenshoo/gradle/plugins/gradle-liquibase-plugin/1.3.0/gradle-liquibase-plugin-1.3.0.jar.md5
+1 −0 com/kenshoo/gradle/plugins/gradle-liquibase-plugin/1.3.0/gradle-liquibase-plugin-1.3.0.jar.sha1
+58 −0 com/kenshoo/gradle/plugins/gradle-liquibase-plugin/1.3.0/gradle-liquibase-plugin-1.3.0.pom
+1 −0 com/kenshoo/gradle/plugins/gradle-liquibase-plugin/1.3.0/gradle-liquibase-plugin-1.3.0.pom.md5
+1 −0 com/kenshoo/gradle/plugins/gradle-liquibase-plugin/1.3.0/gradle-liquibase-plugin-1.3.0.pom.sha1
+2 −1 com/kenshoo/gradle/plugins/gradle-liquibase-plugin/maven-metadata.xml
+1 −1 com/kenshoo/gradle/plugins/gradle-liquibase-plugin/maven-metadata.xml.md5
+1 −1 com/kenshoo/gradle/plugins/gradle-liquibase-plugin/maven-metadata.xml.sha1
+0 −1 com/kenshoo/gradle/plugins/liquibase-standalone/1.1.2/liquibase-standalone-1.1.2.jar.md5
+0 −1 com/kenshoo/gradle/plugins/liquibase-standalone/1.1.2/liquibase-standalone-1.1.2.jar.sha1
+0 −1 com/kenshoo/gradle/plugins/liquibase-standalone/1.1.2/liquibase-standalone-1.1.2.pom.md5
+0 −1 com/kenshoo/gradle/plugins/liquibase-standalone/1.1.2/liquibase-standalone-1.1.2.pom.sha1
+ com/kenshoo/gradle/plugins/liquibase-standalone/1.3.0/liquibase-standalone-1.3.0.jar
+1 −0 com/kenshoo/gradle/plugins/liquibase-standalone/1.3.0/liquibase-standalone-1.3.0.jar.md5
+1 −0 com/kenshoo/gradle/plugins/liquibase-standalone/1.3.0/liquibase-standalone-1.3.0.jar.sha1
+8 −2 com/kenshoo/gradle/plugins/liquibase-standalone/1.3.0/liquibase-standalone-1.3.0.pom
+1 −0 com/kenshoo/gradle/plugins/liquibase-standalone/1.3.0/liquibase-standalone-1.3.0.pom.md5
+1 −0 com/kenshoo/gradle/plugins/liquibase-standalone/1.3.0/liquibase-standalone-1.3.0.pom.sha1
+2 −1 com/kenshoo/gradle/plugins/liquibase-standalone/maven-metadata.xml
+1 −1 com/kenshoo/gradle/plugins/liquibase-standalone/maven-metadata.xml.md5
+1 −1 com/kenshoo/gradle/plugins/liquibase-standalone/maven-metadata.xml.sha1

0 comments on commit ccf5159

Please sign in to comment.