Android Extensions: Support Android variants and library dependencies (KT-14086, KT-16934)
This commit is contained in:
committed by
Yan Zhulanow
parent
8e9a62d553
commit
f4acf404ca
+2
-1
@@ -22,7 +22,7 @@ import org.gradle.api.tasks.compile.AbstractCompile
|
||||
|
||||
class SubpluginOption(val key: String, val value: String)
|
||||
|
||||
interface KotlinGradleSubplugin<KotlinCompile : AbstractCompile> {
|
||||
interface KotlinGradleSubplugin<in KotlinCompile : AbstractCompile> {
|
||||
fun isApplicable(project: Project, task: KotlinCompile): Boolean
|
||||
|
||||
fun apply(
|
||||
@@ -30,6 +30,7 @@ interface KotlinGradleSubplugin<KotlinCompile : AbstractCompile> {
|
||||
kotlinCompile: KotlinCompile,
|
||||
javaCompile: AbstractCompile,
|
||||
variantData: Any?,
|
||||
androidProjectHandler: Any?,
|
||||
javaSourceSet: SourceSet?
|
||||
): List<SubpluginOption>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user