GarouDan
02/02/2019, 12:28 AMcommon
android
android1
android2
api
api1
api2
and in the common module we have the following presets/targets jvm (common to all jvm based projects), jvmAndroid (common to all android projects), jvmApi (common to all api projects).
If we are configuring the build.gradle of this projects, for example the api2 or the android1, we need something similar to this:
implementation project(':common')
but what if we would like to use just the jvmAndroid part or just the jvmApi part of the common module. Is this possible?
For example, is it possible to do something like this?
android2 - build.gradle
…
dependencies {
implementation project(':common:jvmAndroid')
}
...