Implement associate compilations, KT-34009

Partial implementation of the associate compilations proposal. A
compilation can now contain links to other compilation that it compiles
against. This links will replace ad-hoc inter-compilation dependencies.

Issue #KT-34009 Fixed
This commit is contained in:
Sergey Igushkin
2019-08-23 16:23:01 +03:00
parent bb6f406be4
commit 8c1c687e92
5 changed files with 66 additions and 2 deletions
@@ -67,6 +67,10 @@ interface KotlinCompilation<out T : KotlinCommonOptions> : Named, HasAttributes,
fun source(sourceSet: KotlinSourceSet)
fun associateWith(other: KotlinCompilation<*>)
val associateWith: Set<KotlinCompilation<*>>
override fun getName(): String = compilationName
override val relatedConfigurationNames: List<String>