-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dependencies.kt
55 lines (47 loc) · 1.83 KB
/
Dependencies.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import LibrariesVersions.ANDROID_X_VERSION
import LibrariesVersions.GRADLE_PLUGIN_VERSION
import LibrariesVersions.KOTLIN_VERSION
import PluginVersions.SAMPLE
import PluginVersions.UPLOAD
/**
* Created by Sergey Chuprin on 11/09/2019.
*/
object LibrariesVersions {
const val KOTLIN_VERSION = "1.3.61"
const val ANDROID_X_VERSION = "1.0.0"
const val GRADLE_PLUGIN_VERSION = "3.6.0-rc02"
}
object PluginVersions {
/**
* The constant used to specify the version of a plugin which will be uploaded to
* the Gradle Plugin portal when "publishPlugins" task runs.
*/
const val UPLOAD = "1.0.8"
/**
* The constant used to specify the version of a plugin which is applied to the Sample app.
* Usually it equals [UPLOAD] constant and differs only when a new plugin version is about
* to be uploaded.
*/
const val SAMPLE = "1.0.8"
}
object BuildScriptPlugins {
const val android = "com.android.tools.build:gradle:$GRADLE_PLUGIN_VERSION"
const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
/**
* When cloning project there's no locally built plugin so
* 'gradle.plugin.ru.cleverpumpkin.proguard-dictionaries-generator:plugin' is used to
* download plugin from gradle plugin portal.
*
* After building plugin locally with 'uploadArchives' task use
* 'ru.cleverpumpkin.proguard-dictionaries-generator:plugin' for testing plugin.
*/
const val dictionariesGenerator =
"gradle.plugin.ru.cleverpumpkin.proguard-dictionaries-generator:plugin:$SAMPLE"
}
object Plugins {
const val dictionariesGenerator = "ru.cleverpumpkin.proguard-dictionaries-generator"
}
object Libraries {
const val androidX = "androidx.appcompat:appcompat:$ANDROID_X_VERSION"
const val kotlin = "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION"
}