Hi Gradle experts. I'm pretty new to Gradle, and ...
# announcements
n
Hi Gradle experts. I'm pretty new to Gradle, and I'm having trouble figuring out how to get a Kotlin multi-platform multi-project build set up as a composite dependency. I'm using includeBuild to pull in the mpp utility project
Copy code
includeBuild("../acornui") {
	dependencySubstitution {
		substitute(module("com.acornui:acornui-utils-metadata")).with(project(":acornui-utils"))
		substitute(module("com.acornui:acornui-utils-jvm")).with(project(":acornui-utils"))
		substitute(module("com.acornui:acornui-utils-js")).with(project(":acornui-utils"))
        }
}
This actually works as far as building is concerned, but the IDE doesn't accept the substitution. Any suggestions for where I can go from here?
d
It's known to not work in the IDE
n
I've gotten it to work if it's a jvm-only app and a multi-platform library, but multi-platform app it doesn't. I feel like there's got to be a way to at least get the multi-platform app to work with composite with at least the jvm backend and then not substitute dependencies for the others...
a
FYI #gradle or #multiplatform is a better channel for such questions.