|
4 | 4 |
|
5 | 5 | object Deps { |
6 | 6 | object Plugins { |
7 | | - private const val androidPluginModule = |
8 | | - "com.android.tools.build:gradle:${Versions.Plugins.android}" |
9 | | - val androidApplication = PluginDesc( |
10 | | - id = "com.android.application", |
11 | | - module = androidPluginModule |
12 | | - ) |
| 7 | + val androidApplication = PluginDesc(id = "com.android.application") |
13 | 8 | val androidLibrary = PluginDesc( |
14 | 9 | id = "com.android.library", |
15 | | - module = androidPluginModule |
| 10 | + module = "com.android.tools.build:gradle:${Versions.Plugins.android}" |
16 | 11 | ) |
17 | 12 |
|
18 | | - private const val kotlinPluginModule = |
19 | | - "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.Plugins.kotlin}" |
20 | 13 | val kotlinMultiplatform = PluginDesc( |
21 | 14 | id = "org.jetbrains.kotlin.multiplatform", |
22 | | - module = kotlinPluginModule |
23 | | - ) |
24 | | - val kotlinKapt = PluginDesc( |
25 | | - id = "kotlin-kapt", |
26 | | - module = kotlinPluginModule |
27 | | - ) |
28 | | - val kotlinAndroid = PluginDesc( |
29 | | - id = "kotlin-android", |
30 | | - module = kotlinPluginModule |
31 | | - ) |
32 | | - val kotlinAndroidExtensions = PluginDesc( |
33 | | - id = "kotlin-android-extensions", |
34 | | - module = kotlinPluginModule |
| 15 | + module = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.Plugins.kotlin}" |
35 | 16 | ) |
| 17 | + val kotlinKapt = PluginDesc(id = "kotlin-kapt") |
| 18 | + val kotlinAndroid = PluginDesc(id = "kotlin-android") |
| 19 | + val kotlinAndroidExtensions = PluginDesc(id = "kotlin-android-extensions") |
36 | 20 |
|
37 | | - val mobileMultiplatform = PluginDesc( |
38 | | - id = "dev.icerock.mobile.multiplatform", |
39 | | - module = "dev.icerock:mobile-multiplatform:0.6.1" |
40 | | - ) |
| 21 | + val mobileMultiplatform = PluginDesc(id = "dev.icerock.mobile.multiplatform") |
41 | 22 |
|
42 | 23 | val mokoResources = PluginDesc( |
43 | 24 | id = "dev.icerock.mobile.multiplatform-resources", |
44 | 25 | module = "dev.icerock.moko:resources-generator:${Versions.Plugins.mokoResources}" |
45 | 26 | ) |
| 27 | + |
| 28 | + val detekt = PluginDesc(id = "io.gitlab.arturbosch.detekt", version = Versions.detekt) |
46 | 29 | } |
47 | 30 |
|
48 | 31 | object Libs { |
@@ -90,7 +73,7 @@ object Deps { |
90 | 73 | object Jvm { |
91 | 74 | const val kotlinPoet = "com.squareup:kotlinpoet:${Versions.Libs.Jvm.kotlinPoet}" |
92 | 75 | const val apacheCommonsText = "org.apache.commons:commons-text:${Versions.Libs.Jvm.apacheCommonsText}" |
93 | | - const val detektFormatting = "io.gitlab.arturbosch.detekt:detekt-formatting:${Versions.Plugins.detekt}" |
| 76 | + const val detektFormatting = "io.gitlab.arturbosch.detekt:detekt-formatting:${Versions.detekt}" |
94 | 77 | } |
95 | 78 | } |
96 | 79 | } |
0 commit comments