Comments (4)
Not sure this is an issue w/ plugin. But also not sure how deps of aar file are supposed to get pulled into the final APK, cause its not happening.
from android-maven-gradle-plugin.
Well the plugin simply adds support of the standard maven install task to android library projects so aar artifacts can be installed in your local maven repository.
A pom file should be generated along with it to list transitive dependencies.
Since maven transitive dependencies must come from a maven repository, the direct file dependencies you listed probably cannot be added to the pom. Maybe that's why it got added to the libs folder, not sure as when I use it all my dependencies always come from a repository.
Then in your android project (apk), you add a compile dependency to your aar artifact (using 'group:artifact:version:type') and it should automatically "pull" along the transitive dependencies, commons-lang in this case.
Hope this helps
from android-maven-gradle-plugin.
Thanks, still plugging away. For whatever reason I cannot get gradle to pull the transitive dependencies. Again seems like it should but it won't. Running APK throws classdefnotfound exceptions on commons-lang classes as they are not packed up in apk.
from android-maven-gradle-plugin.
Unless you can give me a concrete example of how your projects are setup (build scripts) it will be hard to help you
from android-maven-gradle-plugin.
Related Issues (20)
- Non-default variants are not published HOT 6
- android module aar dependency error pom HOT 4
- Gradle 4.6 fails HOT 7
- Test dependencies leaking into the pom.xml files HOT 1
- 2.0 is no longer available in jcenter HOT 7
- Upgrade Maven Gradle Plugin ?
- uploadArchives command not working with APK since version 2.0 HOT 1
- plugin does not work with gradle plugin 3.1.2 or 3.1.3 HOT 1
- In multi-project build, POM for a project contains original name of dependency, instead of new one
- Getting this error: "Declaring custom 'clean' task when using the standard Gradle lifecycle plugins is not allowed." when using the plugin {} block HOT 2
- How can I pull out the specific dependencies from generated POM file?
- I have a question when execute bintrayUpload: Skipping upload for missing file...
- Install one artifact per flavor HOT 1
- Multi-module project with flavors: module does not include other modules it depends on
- gradle 5.1 fails HOT 13
- WARNING: API 'variant.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()' HOT 8
- WARNING: Configuration 'compile' is obsolete
- All projects
- Clarification is needed regarding "Abandoned" and "android build plugin" HOT 1
- With "com.android.tools.build:gradle:7.0.0-alpha04" -> Configuration with name 'compile' not found.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-maven-gradle-plugin.