Open wongk opened 4 years ago
@wongk have you found any workaround for this? The "Cannot change attributes of configuration" error.
@natario1 the workaround I am using is to use maven instead :P
It works fine if I apply this plugin in afterEvaluate { }. Still it should be a very simple thing to fix.
@natario1 can you please share the code snippet how you have resolved it.
I ended up writing my own fat AAR plugin - https://github.com/deepmedia/Grease because I was having many issues with this one. Not sure if it fits your needs, but you can try it out.
Hello Mattia, Thanks for the email. I have applied your plugins. I have one more question regarding that. I have a aar which is locally added into the project as a module dependency. I am trying to add that as greaseRelease("trasformer-release") but I am getting error
A problem occurred evaluating project ':FAT-AAR-Generator'.
Supplied String module notation 'transformer-release' is invalid. Example notations: 'org.gradle:gradle-core:2.2', 'org.mockito:mockito-core:1.9.5:javadoc'.
Not able to get how to resolve this issue. Your help is much appreciated.
On Mon, Feb 8, 2021 at 8:11 PM Mattia Iavarone notifications@github.com wrote:
I ended up writing my own fat AAR plugin - https://github.com/deepmedia/Grease because I was having many issues with this one. Not sure if it fits your needs, but you can try it out.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kezong/fat-aar-android/issues/114#issuecomment-775196643, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB67APRWM5R433MEEVSIU2LS57Z2DANCNFSM4KHXQIWA .
--
I have a Kotlin Multiplatform library project, with targets for Android and iOS. I have 2 issues with the plugin:
embed
configuration cannot be used within thekotlin
block, by adding a dependency to a source sets compilation. I have to add adependencies
block to myandroid
block to use embed.embed
dependencies, I get the following gradle errors: