typedef config file - apache/royale-asjs GitHub Wiki
To use this file:
- Create a new file:
src/main/config/compile-as-config.xml
. - Copy and paste the XML below.
- If you have dependencies on Royale components, uncomment and specify the correct SWCs with the correct paths.
compile-as-config.xml
<royale-config>
<compiler>
<accessible>true</accessible>
<external-library-path>
<path-element>../../../typedefs/js.swc</path-element>
<!-- <path-element>PATH_TO_SDK/frameworks/libs/Core.swc</path-element> -->
<!-- <path-element>/PATH_TO_SDK/frameworks/libs/Network.swc</path-element> -->
</external-library-path>
<source-path>
<path-element>../../</path-element>
</source-path>
<warn-no-constructor>false</warn-no-constructor>
</compiler>
<include-sources>
<path-element>../../</path-element>
</include-sources>
</royale-config>