com.bselzer.gradle.internal.android.library.plugin.AndroidLibraryPlugin.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-plugin Show documentation
Show all versions of android-plugin Show documentation
Applies the Android gradle plugin.
The newest version!
package com.bselzer.gradle.internal.android.library.plugin
import com.bselzer.gradle.internal.android.plugin.AndroidPlugin
import org.gradle.api.Project
class AndroidLibraryPlugin : AndroidPlugin() {
override val Project.androidExtension: AndroidLibraryExtension
get() = androidLibraryExtension
override fun apply(project: Project) = with(project) {
// TODO libs.plugins.android.library.get().pluginId
pluginManager.apply("com.android.library")
super.apply(project)
}
}