tag:support.gradlefx.org,2011-05-23:/discussions/problems/2256-swcs-and-themesGradleFx: Discussion 2016-09-07T19:57:30Ztag:support.gradlefx.org,2011-05-23:Comment/406616792016-09-01T21:00:47Z2016-09-06T21:10:10ZSWCs and themes<div><p>When I said "is an SWC that was compiled with Ant using compc" I
meant that it is a library that compiles to a .swc file.</p></div>tyler.mcconvilletag:support.gradlefx.org,2011-05-23:Comment/406616792016-09-03T08:54:10Z2016-09-03T08:54:10ZSWCs and themes<div><p>Hey Tyler,</p>
<p>As Yennick said in that other thread: you should probably add
the theme as an <code>external</code> dependency when compiling the
library, and use the <code>theme</code> dependency scope in the
main project that leverages this library.<br>
Check the <a href="http://doc.gradlefx.org/en/latest/dependency_management.html?highlight=theme%20external">
dependency management section in the docs</a> for more
information.</p></div>Maxime Coweztag:support.gradlefx.org,2011-05-23:Comment/406616792016-09-05T18:37:33Z2016-09-06T21:10:10ZSWCs and themes<div><p>Thanks for the reply! Unfortunately, I get the same compilation
errors when specifying it as an <code>external</code>
dependency.</p></div>tyler.mcconvilletag:support.gradlefx.org,2011-05-23:Comment/406616792016-09-06T20:05:24Z2016-09-06T20:05:24ZSWCs and themes<div><p>Unfortunately it's been years since I've compiled any Flex
apps.<br>
If adding the halo.swc as an external dep doesn't help, I'm not
sure how we can investigate without looking into the code.</p>
<p>I would try to recreate what that ANT build is doing on the
command line (so just compc and whatever flags it needs to get it
to compile your library). In the end, GradleFx is just a wrapper
around Flex' command line tools, so from there you should be able
to figure out how to convert it (or post your command here so we
can help you).</p></div>Maxime Cowez