Hi,
I am trying to get started with Gradle, for a Flex / Actionscript
project where I have a number of sibling projects. I was attracted by
the advertised deep integration with ANT as well as wrapping Maven and
Ivy dependency / artifact management.
Anyway, I am trying to port an ANT build.xml file over to a build.gradle
file, and having an issue with properties. I am thinking one option
would be to just keep the portion of the ant script that loads my
properties and call it; however I would like to know if there is a
"pure" gradle way to handle this. I have tried adding a
gradle.properties file to my project; however it does not appear to be
expanding properites the same way that ANT does. That is I have the
following in my gradle.properties:
buildToolsDir=/path/to/dir
FLEX_VERSION=4.1.0
FLEX_HOME=${buildToolsDir}/tools/sdk-${FLEX_VERSION}
In Ant I could load this and expect to see FLEX_HOME have a value of
"/path/to/dir/tools/sdk-4.1.0", but when I do the same (gradle 0.9.2) I
am getting the unexpanded value
"${buildToolsDir}/tools/sdk-${FLEX_VERSION}". Is there any setting,
flag, etc.. or am I just doing something wrong? If not, then this might
be a feature request.
To provide some more information - each developer would set the
buildToolsDir in their system as needed, but the build server has one
that is actually a git repository, so I want to be easily able to change
this (and yes, it is referenced elsewhere on its own).
--
Robert r. Sanders
Chief Technologist / CTO
iPOV
(334) 821-5412
www.ipov.net
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email