Repository: incubator-fineract
Updated Branches:
  refs/heads/develop 4d8ad87d9 -> a2d794a34


adding driver property for flyway tasks


Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/a2d794a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/a2d794a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/a2d794a3

Branch: refs/heads/develop
Commit: a2d794a34d2ad2d22c569453bfe9abac40bee0fb
Parents: 4d8ad87
Author: Nazeer Hussain Shaik <[email protected]>
Authored: Mon May 2 16:34:46 2016 +0530
Committer: Nazeer Hussain Shaik <[email protected]>
Committed: Mon May 2 16:34:46 2016 +0530

----------------------------------------------------------------------
 fineract-provider/build.gradle | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/a2d794a3/fineract-provider/build.gradle
----------------------------------------------------------------------
diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index d104a1f..dc6cc53 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -242,6 +242,7 @@ buildscript {
 
 flyway {
     url = "jdbc:mysql:thin://localhost:3306/mifostenant-default"
+       driver = "org.drizzle.jdbc.DrizzleDriver"
     user = mysqlUser
     password = mysqlPassword
 }
@@ -256,6 +257,7 @@ task migrateTenantDB<<{
        }
        
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
     /**We use ${ as the prefix for strecthy reporting, do not want them to be 
interpreted by Flyway**/
     flyway.placeholderPrefix = "\$\${"
@@ -272,6 +274,7 @@ task showTenantDBInfo<<{
        }
        
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
     flywayInfo.execute()
 }
@@ -287,6 +290,7 @@ task migrateTenantListDB<<{
        }
        
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantsDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
 
     flywayMigrate.execute()
@@ -302,6 +306,7 @@ task showTenantListDBInfo<<{
        }
     
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantsDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
     flywayInfo.execute()
 }
@@ -316,6 +321,7 @@ task repairTenantDB<<{
     }
     
     flyway.url= "jdbc:mysql:thin://localhost:3306/$tenantsDbName"
+       flyway.driver = "org.drizzle.jdbc.DrizzleDriver"
     flyway.locations= [filePath]
     flywayRepair.execute()
 }

Reply via email to