From 5353a1ed98021bb4b58d62ba069dac84c3999850 Mon Sep 17 00:00:00 2001 From: Keith Woodlock Date: Wed, 18 Jul 2012 13:47:19 +0100 Subject: [PATCH] update to gradle 1.0 conventions meaning gradle 1.0 is required at minimum to build project. --- build.gradle | 2 -- mifosng-provider/build.gradle | 19 ++++++++----------- settings.gradle | 1 - 3 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 build.gradle delete mode 100644 settings.gradle diff --git a/build.gradle b/build.gradle deleted file mode 100644 index 792f44a11..000000000 --- a/build.gradle +++ /dev/null @@ -1,2 +0,0 @@ -sourceCompatibility = JavaVersion.VERSION_1_6 -targetCompatibility = JavaVersion.VERSION_1_6 \ No newline at end of file diff --git a/mifosng-provider/build.gradle b/mifosng-provider/build.gradle index 1d84929a6..0973221b9 100644 --- a/mifosng-provider/build.gradle +++ b/mifosng-provider/build.gradle @@ -7,7 +7,7 @@ buildscript { } dependencies { - classpath 'bmuschko:gradle-tomcat-plugin:0.9.2' + classpath 'bmuschko:gradle-tomcat-plugin:0.9.3' } } @@ -15,15 +15,12 @@ apply plugin: 'war' apply plugin: 'eclipse' apply plugin: 'tomcat' -sourceCompatibility = JavaVersion.VERSION_1_6 -targetCompatibility = JavaVersion.VERSION_1_6 - -springVersion = '3.1.1.RELEASE' -springSecurityVersion = '3.1.0.RELEASE' -hibernateValidatorVersion = '4.3.0.Final' -hibernateCoreVersion = '4.1.3.Final' -jerseyVersion = '1.13' -springDataJpaVersion = '1.0.3.RELEASE' +project.ext.springVersion = '3.1.1.RELEASE' +project.ext.springSecurityVersion = '3.1.0.RELEASE' +project.ext.hibernateValidatorVersion = '4.3.0.Final' +project.ext.hibernateCoreVersion = '4.1.3.Final' +project.ext.jerseyVersion = '1.13' +project.ext.springDataJpaVersion = '1.0.3.RELEASE' repositories { mavenCentral() @@ -56,7 +53,7 @@ configurations { } dependencies { - def tomcatVersion = '7.0.29' + def tomcatVersion = '7.0.29' tomcat "org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}", "org.apache.tomcat.embed:tomcat-embed-logging-juli:${tomcatVersion}" tomcat("org.apache.tomcat.embed:tomcat-embed-jasper:${tomcatVersion}") { diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index cfa20494b..000000000 --- a/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -include 'mifosng-provider' \ No newline at end of file