I have an Android App that uses Gradle Java Platform to declares all dependencies and these dependencies are constraint. I was liking this approach as this is helping in times of conflicts.
I am expanding my Project to Kotlin Multiplatform (KMP), so I can support both iOS and Android. But iOS does not support JVM code and Java Platform is not supported in my setup now.
Are there any recommendations for Java Platform to extract into something like a version catalog or a file that I can access in KMP world?
I cannot remove Java Platform as I am so deep in my other subprojects. Now, I have to maintain two files Java-Plaform a new dependency file for KMP projects but I want to make it one source.
I don’t do KMP development, but I thought that the KMP stuff is all published as Maven artifacts and thus should be “Java ecosystem” in that regard.
Also, what do you mean with you “get capabilities but not dependencies”.
A platform does not give you any dependencies, it just sets version constraints similar to a Maven BOM (which actually can be used as a platform).
Do you maybe have some MCVE, so that it is clear what we talk about exactly?