Resolve compiler plugin classpath using 'kotlinCompilerPluginClasspath' configuration

#KT-24653 fixed
        #KT-24676 fixed
This commit is contained in:
Alexey Tsvetkov
2018-05-28 23:18:30 +03:00
parent 0c21b21a88
commit 873de17056
16 changed files with 94 additions and 225 deletions
@@ -63,6 +63,10 @@ interface KotlinGradleSubplugin<in KotlinCompile : AbstractCompile> {
): List<AbstractCompile> = emptyList()
fun getCompilerPluginId(): String
fun getGroupName(): String
fun getArtifactName(): String
fun getPluginArtifact(): SubpluginArtifact
}
open class SubpluginArtifact(val groupId: String, val artifactId: String)
class JetBrainsSubpluginArtifact(artifactId: String) : SubpluginArtifact(groupId = "org.jetbrains.kotlin", artifactId = artifactId)