Upgrade to Gradle 1.0-rc1
- Fix deprecation warnings about dynamic properties; favor use of "extra properties extensions" per [1] - Certain such deprecations are still issued due to violations within the docbook-reference plugin. These will be fixed in an upcoming revision of the plugin, at which point spring-framework will upgrade to depend on it and these warnings will be eliminated [1] http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html Issue: SPR-9327
This commit is contained in:
@@ -13,15 +13,15 @@ dependencies {
|
||||
jibx "bcel:bcel:5.1"
|
||||
}
|
||||
|
||||
genSourcesDir = "${buildDir}/generated-sources"
|
||||
flightSchema = "${projectDir}/src/test/resources/org/springframework/oxm/flight.xsd"
|
||||
ext.genSourcesDir = "${buildDir}/generated-sources"
|
||||
ext.flightSchema = "${projectDir}/src/test/resources/org/springframework/oxm/flight.xsd"
|
||||
|
||||
task genCastor {
|
||||
orderSchema = "${projectDir}/src/test/resources/org/springframework/oxm/order.xsd"
|
||||
castorBuilderProperties = "${projectDir}/src/test/castor/castorbuilder.properties"
|
||||
def orderSchema = "${projectDir}/src/test/resources/org/springframework/oxm/order.xsd"
|
||||
def castorBuilderProperties = "${projectDir}/src/test/castor/castorbuilder.properties"
|
||||
|
||||
sourcesDir = "${genSourcesDir}/castor"
|
||||
classesDir = "${buildDir}/classes/castor"
|
||||
ext.sourcesDir = "${genSourcesDir}/castor"
|
||||
ext.classesDir = "${buildDir}/classes/castor"
|
||||
|
||||
inputs.files flightSchema, orderSchema, castorBuilderProperties
|
||||
outputs.dir classesDir
|
||||
@@ -56,8 +56,8 @@ task genCastor {
|
||||
}
|
||||
|
||||
task genJaxb {
|
||||
sourcesDir = "${genSourcesDir}/jaxb"
|
||||
classesDir = "${buildDir}/classes/jaxb"
|
||||
ext.sourcesDir = "${genSourcesDir}/jaxb"
|
||||
ext.classesDir = "${buildDir}/classes/jaxb"
|
||||
|
||||
inputs.files flightSchema
|
||||
outputs.dir classesDir
|
||||
@@ -92,7 +92,7 @@ task genJaxb {
|
||||
}
|
||||
|
||||
task genXmlbeans {
|
||||
classesDir = "${buildDir}/classes/xmlbeans"
|
||||
ext.classesDir = "${buildDir}/classes/xmlbeans"
|
||||
|
||||
inputs.files flightSchema
|
||||
outputs.dir classesDir
|
||||
@@ -112,7 +112,7 @@ task genXmlbeans {
|
||||
|
||||
// add jibx binding to the normal test compilation process
|
||||
compileTestJava {
|
||||
bindingXml = "${projectDir}/src/test/resources/org/springframework/oxm/jibx/binding.xml"
|
||||
def bindingXml = "${projectDir}/src/test/resources/org/springframework/oxm/jibx/binding.xml"
|
||||
|
||||
doLast() {
|
||||
project.ant {
|
||||
|
||||
Reference in New Issue
Block a user