Internal swc dependency
Gradle/GradleFx newbie question, but I have a swc that is in a
lib directory in my project that I need included in my build
process.
The documentation says :
internal: The dependency content will be merged in the SWC/SWF.
Same as -compiler.include-libraries
What do you mean by "Same as -compile.include-libraries"? This
option in the compile flag just points at a file name, but
the dependency examples list things with group names and class
names, but not a location in the file structure.
Thanks for any help you can provide.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Yennick Trevels on 16 Apr, 2013 06:17 AM
You are mixing two things up here, one being how you specify the location of your dependency and the other how Flex will link the dependency.
With Gradle/GradleFx you can specify the location of your dependencies in multiple ways. One of them is file-based, like this (ignore the 'merged' here for a while):
You can find more information on these dependency types here: http://doc.gradlefx.org/en/latest/sdk_auto_install.html#dependency-...
Then you also have the ways how the Flex compiler (which is used by GradleFx) will link your library into the artifact of your project. You can look up those compiler options here: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c...
For example when you look up the 'include-libraries' option it will have this description:
2 Posted by dnmcgoy on 16 Apr, 2013 06:08 PM
Awesome, thank you for the quick response. Using the files() specification worked. I needed to read the gradle documentation a little closer.
Yennick Trevels closed this discussion on 16 Apr, 2013 06:12 PM.