Compilation fails with dependency as3commons-logging
Hi!
I created a gradle build file for a project, which compiles successfully in intellij IDEA.
My project contains dependency
internal group: 'org.as3commons', name: 'as3commons-logging',
version: '2.7', ext: 'swc'
Compilation fails, with errors like
Error: Type was not found or was not a compile-time constant:
[com.pblabs.engine.debug]::ILogAppender.
I see that logging library indeed contains references to interfaces from other libraries, but in the IDE somehow it passes compilation and even works.
Which gradlefx option should I set?
Thank you
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 Maxime Cowez on 30 Jan, 2013 11:17 AM
Hi Pavel,
What linkage scope do you use in IntelliJ?
2 Posted by Pavel Bernshtam on 30 Jan, 2013 11:19 AM
Maxime, how can I check this?
3 Posted by Pavel Bernshtam on 30 Jan, 2013 11:25 AM
Oh, I see - Framework linkage - "external"
4 Posted by Pavel Bernshtam on 30 Jan, 2013 11:29 AM
Solved! I changed dependency configuration to "merged"!
Yennick Trevels closed this discussion on 30 Jan, 2013 12:22 PM.