Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run assembleRelease or assembleDebug task of example-lib, the output aar does not include the nested-lib and nested-native-lib #29

Open
wingyippp opened this issue Feb 2, 2019 · 5 comments

Comments

@wingyippp
Copy link

What are the steps to reproduce this issue?

  1. Run the assembleRelease or assembleDebug task of example-lib;
  2. The AAR is generated in the build/output/aar directory;
  3. But the AAR does not include the example-nested-lib and example-nested-native-lib

What happens?

the AAR does not include the example-nested-lib and example-nested-native-lib

What were you expecting to happen?

Since the build.gradle of example-lib declared the dependencies of example-nested-lib and example-nested-native-lib, it should include the them in the AAR.

Any logs, error output, etc?

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Any other comments?

If the assembleRelease or assembleDebug of example-nested-lib and example-nested-native-lib is run before, let say these two AARs are generated. Then run the assembleRelease or assembleDebug of example-lib, the output AAR will include all its dependencies incorrectly.

@pszklarska
Copy link

@wingyippp What's your Gradle plugin version?

@wingyippp
Copy link
Author

wingyippp commented Feb 13, 2019

3.0.0

@oscarcpozas
Copy link
Contributor

Let me check it out.

@yandesheng
Copy link

I also encountered this problem, as well as in the example project. I use gradle plugin3.1.4 and gradle 4.4。

@derekyuwork
Copy link

I also encountered this problem on gradle plugin 3.0.0 and gradle 4.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants