tag:support.gradlefx.org,2011-05-23:/discussions/questions/3523-best-way-to-build-swf-and-swcair-artifacts-for-a-single-projectGradleFx: Discussion 2018-10-19T04:56:01Ztag:support.gradlefx.org,2011-05-23:Comment/362191862015-03-17T19:28:54Z2015-03-17T19:28:54ZBest way to build .swf AND .swcAir artifacts for a single project?<div><p>When having to build multiple artifacts, I generally recommend
to to use multiple projects, one for each artifact. Each of these
use a library which contains the shared code. These projects are
sub-projects of one root project, which only has a build file with
common build logic in it.<br>
This keeps everything nicely separated, allows you to build
multiple artifacts with one single call and should allow you to
generate IDEA project files for each project.</p></div>Yennick Trevelstag:support.gradlefx.org,2011-05-23:Comment/362191862015-03-23T21:29:45Z2015-03-23T21:29:45ZBest way to build .swf AND .swcAir artifacts for a single project?<div><p>Thanks Yennick, I decided to pursue an approach with a 1:1
project:artifact mapping, and abandon the use of an environment to
determine the artifact to build. It is working much better.</p></div>wenslayer