I got gradle 3.5.1 and using ear plugin. The documentation says that deploy configuration is not transitive but earlib actually is (https://docs.gradle.org/3.3/userguide/ear_plugin.html). My configuration is a below
dependencies {
earlib(
…
I have this simplified table:
The business states that anyone with a role_id of 3 needs to have a leader_id, while anyone with any other value for role_id should not have a leader_id (null).
By knowing the value of leader_id we now narrow down the…
I have created an android library which has certain dependencies like volley, SqlCipher etc in its gradle file. When I use the aar file for this library in another project, I am getting the ClassNotFoundError w.rt. SqlCipher and Volley.
I think it…
At our company, we have started modularizing our android projects and each has several dependencies. We use JFrog artifactory to host our aar files. Here is the code:
Library A:
compile…
I am maintaining big project with multiple modules (currently I maintain each module as separate GIT repo).
There is interdependency between these modules which creates 5 level dependency tree. Currently, I build each module(git repo) individually…
I'm currently in the process of adding the Jasper API to our project, and I've made a JUnit-test to test the connection. Our Maven project architecture is one parent project, with a few inner projects.
I've added the dependencies I need for jasper…
I'm using parceler, and I'm trying to define a structure like this one:
Category 1..* Product 1..* Images
Each entity has a list, and a parent instance, like this
@Parcel
public class Category {
List products;
...
}
@Parcel
public…
Main project A (APK) depends on sub-project B (AAR). Both A and B depend on C (AAR). The problem is C included twice which cause:
"values.xml:XXX: error: Attribute "YYY" has already been defined"
How would I exclude transient dependency C from…
Unlike external dependencies (from Maven, Ivy, etc.) local JAR files usually do not provide a list of transitive dependencies for Gradle. Unless they theoretically do in form of files pom.xml and pom.properties in directory…
Hi Im using transitive dependency for card.io to aar library using gradle. But its throwing class not found exception from the application to card.io.
I have followed following link1 and link2 but the mentioned solutions are not working for my…
The dumbster:dumbster:1.6 that we using (from Maven Central) declares a dependency to javax.mail:mail:1.3.2. Unfortunately, Maven Central contains jars for javax.mail:mail only starting from version 1.4. Everything works fine if I add a dependency…
I have read that the Maven dependency resolution mechanism can replace my specified version (e.g. 1.2.3) by some lower version (1.0.0) if this other version is "nearer" in the dependency tree. I know that I can exclude this behaviour by specifying…
I have created a Maven project (re-usable library) which has many dependencies(Compile time and run time) which also transitively dependent on many others. In maven, i can add the dependencies in pom.xml and its transitive dependencies will be taken…
Let's say I have a project whose dependency:tree prints like this.
[INFO] group:a:jar:1.0
[INFO] +- group:b:jar:1.0:compile
[INFO] | +- group:c:jar:1.0:compile
Can I refer group:c:version which is 1.0 in group:a's pom.xml?
I know it's weird but…