hmole
02/21/2019, 7:37 AMincludeBuild
dependency substition on a preset of an mpp project? In a non-mpp android module I have a dependency mpp-module-android
, and trying to substitute it with mpp-module
, but it fails with Unable to find module with Gradle path
h0tk3y
02/21/2019, 12:43 PMjvm-app
depends on an mpp-lib
through an included build:includeBuild("../mpp-lib") {
dependencySubstitution {
substitute(module("com.example.mpp.composite:mpp-lib")).with(project(":"))
}
}
implementation 'com.example.mpp.composite:mpp-lib:1.0'
hmole
02/21/2019, 12:47 PMh0tk3y
02/21/2019, 4:43 PMmpp-lib-jvm
dependency works, too, but requires that you substitute mpp-lib-jvm
, not just mpp-lib
.hmole
02/21/2019, 5:59 PMh0tk3y
02/21/2019, 6:11 PMhmole
02/22/2019, 9:38 AM