The process of building your application in Royale should be the same as in Flex. You should be able to build the SWCs in the same order. I don't think we have anyone trying to use Gradle right now, but I think it should work, and I would be interested in making it work if it doesn't. So try Gradle and tell us what errors you run into and we'll see what needs to be tweaked.
Royale's COMPC will build a SWC that contains both a library.swf (for the compiler to understand what classes are in the SWC) and a pile of JS files. Those SWCs are used just like Flex SWCs and at the end, when you use MXMLC to build the main app, all of the JS files packaged in the SWCs will be added to the output JS. HTH, -Alex On 7/20/18, 2:00 AM, "chembali" <chemb...@hotmail.com> wrote: My application consists of a number of components. Each of these components has got a UI portion which is in Flex. For e.g I have got components like FlexUIPlatform, Directory, ProcessModel etc. Here FlexUIPlatform is the lowest in the hierarchy and does not have any dependency on other components for building. Directory component uses FlexUIPlatform and has a dependency on FlexUIPlatform for component build. Our current build process ( Gradle ) builds the FlexUIPlatform first using the compc compiler and creates the .swc library. This swc library is used in the build of the Directory component. The build process generates the Directory.swc library. The FlexUIPlatform.swc and Directory.swc are used in the build of the ProcessModel component and so on. Now my goal is to get my application ( all components ) compiled in the Royale environment. Here is my question. Should I try to use Royale compc and compile my components one by one? Would this create a swc library ( containing .js classes? ) if successful? Can I use/link the generated swc during the building of the higher level component? I hope my questions make sense. -- Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cdcddc35d449f4ca4d47a08d5ee1f4bf1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636676740543817299&sdata=F2tfg3Dclz4hVndvCq8sr9ifQE7Ih2JFfDaamQA6eeM%3D&reserved=0