rad
05/24/2025, 9:12 AM:shared
) in another subproject (:orchestrator
). I've tried KotlinCompilation#associateWith
but that errors because the target instances are not the same (Both are JVM though). So now I'm trying this to circumvent that check:
val orchestratorMain = kotlin.target.compilations["main"]
project(":shared").afterEvaluate {
val associatedCompilations = (orchestratorMain.allAssociatedCompilations as MutableObservableSet<KotlinCompilation<*>>)
val sharedMain = kotlin.target.compilations["main"]
sharedMain.allAssociatedCompilations.forAll { compilation -> associatedCompilations.add(compilation) }
}
But this is still throwing compilation errors about the declaration being privateVampire
05/24/2025, 11:20 PMtapchicoma
05/26/2025, 8:56 AM-Xfriend-path
argument and introduce some public DSL for it. Timeline wise I am not sure in which Kotlin release it will happentapchicoma
05/26/2025, 8:57 AM