|
|
|
@ -15,10 +15,10 @@
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import com.android.build.api.dsl.ApplicationExtension
|
|
|
|
|
import com.google.samples.apps.nowinandroid.configureGradleManagedDevices
|
|
|
|
|
import com.android.build.api.variant.ApplicationAndroidComponentsExtension
|
|
|
|
|
import com.android.build.gradle.BaseExtension
|
|
|
|
|
import com.google.samples.apps.nowinandroid.configureBadgingTasks
|
|
|
|
|
import com.google.samples.apps.nowinandroid.configureGradleManagedDevices
|
|
|
|
|
import com.google.samples.apps.nowinandroid.configureKotlinAndroid
|
|
|
|
|
import com.google.samples.apps.nowinandroid.configurePrintApksTask
|
|
|
|
|
import org.gradle.api.Plugin
|
|
|
|
@ -33,6 +33,7 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
|
|
|
|
|
apply("com.android.application")
|
|
|
|
|
apply("org.jetbrains.kotlin.android")
|
|
|
|
|
apply("nowinandroid.android.lint")
|
|
|
|
|
apply("com.dropbox.dependency-guard")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
extensions.configure<ApplicationExtension> {
|
|
|
|
@ -47,4 +48,4 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|