howardpang / androidNativeBundle

a gradle plugin that support publish c/c++ headers to 'aar' and depend those 'aar'
Apache License 2.0
71 stars 14 forks source link

unable to build library after upgrade to gradle 7.2 and AGP 7.0.2 #14

Closed igagis closed 3 years ago

igagis commented 3 years ago

After upgrading my project to gradle 7.2 and AGP 7.0.2 I started getting the following build error:

Execution failed for task ':r4:bundleStaticLibPrepareRelease'.
> No such property: externalNativeJsonGenerator for class: com.android.build.gradle.internal.scope.MutableTaskContainer

Please see the relevant build log here: https://github.com/cppfw/r4/runs/3651546091?check_suite_focus=true#step:6:127

Is this a problem in androidNativeBundle plugin?

howardpang commented 3 years ago

Gradle 7.2 is not support yet, i will take tome time to support it , thanks

igagis commented 3 years ago

Ah, I see. What is the latest supported gradle version?

howardpang commented 3 years ago

android gradle plugin 3.0.0 - 4.1.0

howardpang commented 3 years ago

Please try 1.1.0

igagis commented 3 years ago

I'll try as soon as I can. Thanks for the fix!

igagis commented 3 years ago

Ok, it seems working for me. Thanks again for great plugin!