GradleFx currently supports both compc (for library projects)
and mxmlc (for application projects).
The compc compiler will generate a 'swc' file. The mxmlc
compiler will generate a 'swf' file. So to use the compc compiler,
you'll have a swc-based project. See
for defining the project type, which is an essential property for
every GradleFx-based build. This defines what type of file will be
So to answer your question of "how can I call compc to build my
swf file": Basically, you can't, since GradleFx will always use the
mxmlc compiler to build a swf file. That's because how those
compilers work, the mxmlc compiler's function is to generate swf
GradleFx is not the default plugin for Gradle builds like we have JAVA and WAR plugins we need to add the Maven dependency for plugin in build file. If not maven what is th e other way to add GradleFX plugin to use mxmlc for generating SWF files.
Actually I have gone through the docs. It need maven dependency from maven central to access jar but I am not able to make connection "connection refused" secure network.Then wht is the option i will go.If add gradleFX.jar(I have this gradlefx-1.3.3.jar with me right now) in plugins folder of gradle(C:\Program Files (x86)\Gradle-3.2\lib\plugins\) will it work.Also i do not need only swf files my project requirement is to generate SWF,SWF.CACHE,HTML files