Move Android Extensions subplugin to the main kotlin-gradle-plugin artifact
This commit is contained in:
+5
-1
@@ -23,7 +23,11 @@ import org.jetbrains.kotlin.gradle.plugin.SubpluginOption
|
||||
|
||||
public class ExampleSubplugin : KotlinGradleSubplugin {
|
||||
|
||||
override fun getExtraArguments(project: Project, task: AbstractCompile): List<SubpluginOption>? {
|
||||
override fun isApplicable(project: Project, task: AbstractCompile): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
override fun getExtraArguments(project: Project, task: AbstractCompile): List<SubpluginOption> {
|
||||
println("ExampleSubplugin loaded")
|
||||
return listOf(SubpluginOption("exampleKey", "exampleValue"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user