(How) Can I build and create ANE package with gradleFX?
Hi,
I have a Native extension project for android. Is there a way to
build and package this to and .ane file with gradleFX, that I can
then use in my other Flex mobile project?
I see I can set the target to 'ane' in the airMobile settings. But
I don't know what to do next. With the build file below I can build
a swc file, which I can then manually change to an ane by
extracting the swf file, putting it in the correct folder structure
and using adt to create my ane. Is this already supported in
gradleFX?
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath group: 'org.gradlefx', name: 'gradlefx', version: '1.3.1'
}
}
apply plugin: 'gradlefx'
apply plugin: 'flashbuilder'
type = 'swcAir'
srcDirs = ['/src']
repositories {
mavenCentral()
maven {
url "http://172.16.99.97:8081/nexus/content/groups/public"
}
}
dependencies {
merged group: 'org.as3commons', name: 'as3commons-lang', version: '0.3.4', ext: 'swc'
}
airMobile {
target = 'ane'
}
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 26 Aug, 2015 05:55 PM
GradleFx currently doesn't support packaging ane files yet, although I think it wouldn't take much to add this since almost all required adt options are supported already, except for two.
If you're interested in digging a little deeper, let me know and I'll give you some guidelines to get started.
2 Posted by dpeeters on 27 Aug, 2015 09:08 AM
Thanks for the reply! :)
I managed to do it myself creating a new gradle task.
Here is the code, maybe you still have remarks :)
Support Staff 3 Posted by Yennick Trevels on 29 Aug, 2015 12:33 PM
Looks like a solid alternative ;) no remarks really.
I've created a new feature request on our issue tracker: https://github.com/GradleFx/GradleFx/issues/196
dpeeters closed this discussion on 25 Oct, 2015 11:04 PM.