io.github.lyxnx.gradle.android.AndroidLibraryPlugin.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-android Show documentation
Show all versions of plugin-android Show documentation
Plugins to reduce boilerplate in Android modules
package io.github.lyxnx.gradle.android
import com.android.build.api.dsl.LibraryExtension
import io.github.lyxnx.gradle.android.internal.android
import org.gradle.api.Project
private const val ANDROID_LIBRARY_PLUGIN = "com.android.library"
public class AndroidLibraryPlugin : BaseAndroidPlugin() {
override fun Project.configure() {
applyBasePlugin(ANDROID_LIBRARY_PLUGIN)
android {
defaultConfig {
consumerProguardFiles("consumer-rules.pro")
}
buildFeatures {
buildConfig = false
resValues = false
androidResources = false
}
}
}
}