add Plugins
This commit is contained in:
		| @@ -3,8 +3,12 @@ import org.gradle.plugin.use.PluginDependencySpec | |||||||
|  |  | ||||||
| val PluginDependenciesSpec.androidApplication: PluginDependencySpec | val PluginDependenciesSpec.androidApplication: PluginDependencySpec | ||||||
|     get() = id(Plugin.Id.Android.application) |     get() = id(Plugin.Id.Android.application) | ||||||
|  | val PluginDependenciesSpec.androidLibrary: PluginDependencySpec | ||||||
|  |     get() = id(Plugin.Id.Android.library) | ||||||
| val PluginDependenciesSpec.kotlinJvm: PluginDependencySpec | val PluginDependenciesSpec.kotlinJvm: PluginDependencySpec | ||||||
|     get() = id(Plugin.Id.Kotlin.jvm) |     get() = id(Plugin.Id.Kotlin.jvm) | ||||||
|  | val PluginDependenciesSpec.kotlinAndroid: PluginDependencySpec | ||||||
|  |     get() = id(Plugin.Id.Kotlin.android) | ||||||
| val PluginDependenciesSpec.kotlinParcelize: PluginDependencySpec | val PluginDependenciesSpec.kotlinParcelize: PluginDependencySpec | ||||||
|     get() = id(Plugin.Id.Kotlin.parcelize) |     get() = id(Plugin.Id.Kotlin.parcelize) | ||||||
| val PluginDependenciesSpec.kotlinAnnotationProcessor: PluginDependencySpec | val PluginDependenciesSpec.kotlinAnnotationProcessor: PluginDependencySpec | ||||||
| @@ -20,6 +24,11 @@ object Plugin { | |||||||
|              * [Changelog](https://developer.android.com/studio/releases/gradle-plugin) |              * [Changelog](https://developer.android.com/studio/releases/gradle-plugin) | ||||||
|              */ |              */ | ||||||
|             const val application = "com.android.application" |             const val application = "com.android.application" | ||||||
|  |             /** | ||||||
|  |              * [Documentation](https://google.github.io/android-gradle-dsl/current/) | ||||||
|  |              * [Changelog](https://developer.android.com/studio/releases/gradle-plugin) | ||||||
|  |              */ | ||||||
|  |             const val library = "com.android.library" | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         object Kotlin { |         object Kotlin { | ||||||
| @@ -27,6 +36,10 @@ object Plugin { | |||||||
|              * Plugin published in https://plugins.gradle.org/ |              * Plugin published in https://plugins.gradle.org/ | ||||||
|              */ |              */ | ||||||
|             const val jvm = "org.jetbrains.kotlin.jvm" |             const val jvm = "org.jetbrains.kotlin.jvm" | ||||||
|  |             /** | ||||||
|  |              * Plugin published in https://plugins.gradle.org/ | ||||||
|  |              */ | ||||||
|  |             const val android = "org.jetbrains.kotlin.android" | ||||||
|  |  | ||||||
|             /** |             /** | ||||||
|              * Plugin published in https://plugins.gradle.org/ |              * Plugin published in https://plugins.gradle.org/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user