In my Android app, I\'m getting a java.lang.NoClassDefFoundError when the code that references code in a dependent .jar is executed. My project includes an Andr
java.lang.NoClassDefFoundError
In recent (4+, IIRC) versions of gradle, you can achieve this with the following configuration:
compile (project(':ProjectIDependOn')) { transitive = true }
Setting transitive to true when depending on another project will expose all of that project's libraries to this project.
transitive