Created
December 24, 2019 16:47
-
-
Save fleficher/341692d64b4e50db52281a68b5345a2a to your computer and use it in GitHub Desktop.
Plugins declaration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun PluginDependenciesSpec.androidApp(): PluginDependencySpec = | |
id("com.android.application") | |
fun PluginDependenciesSpec.androidLibrary(): PluginDependencySpec = | |
id("com.android.library") | |
fun PluginDependenciesSpec.kotlinAndroid(): PluginDependencySpec = | |
kotlin("android") | |
fun PluginDependenciesSpec.kotlinAndroidExt(): PluginDependencySpec = | |
kotlin("android.extensions") | |
fun PluginDependenciesSpec.dependencyUpdates(): PluginDependencySpec = | |
id("com.github.ben-manes.versions").version("0.24.0") | |
fun PluginDependenciesSpec.ktlint(includeVersion: Boolean = true): PluginDependencySpec = | |
id("org.jlleitschuh.gradle.ktlint").also { if (includeVersion) it.version("8.2.0") } | |
fun PluginDependenciesSpec.detekt(includeVersion: Boolean = true): PluginDependencySpec = | |
id("io.gitlab.arturbosch.detekt").also { if (includeVersion) it.version("1.1.1") } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment