Is there a propper way to add aar’s to an extension?
I tried
compile files(‘libs/name.aar’)
compile fileTree(dir: ‘libs’, include: [’*.aar’])
in the gradle.build of the extension(and a lot other variations).
But the moment the aar-file is found, the error ends up being that only jar-types are supported
There are some misunderstandings here.
Yes aar can be extracted and the inside classes.jar can be used. Did that.
But, there is more stuff inside the aar-file then just the classes.jar.
And those resources, assets i would loose.
The question still stands, what is the proper way to import(compile) aar in gradle/openfl?