-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdependencies.gradle
75 lines (61 loc) · 2.67 KB
/
dependencies.gradle
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
* Copyright (C) 2017 Nishant Srivastava
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
ext {
versions = [
appVersionCode : 1,
appVersionName : '1.0',
minSdk : 14,
targetSdk : 29,
compileSdk : 29,
androidGradlePlugin : '3.4.2',
gradleBintrayPlugin : '1.8.4',
androidMavenGradlePlugin: '2.1',
supportAppCompat : '1.0.2',
support : '1.0.0',
supportRecyclerView : '1.0.0',
junit : '4.12',
espresso : '3.2.0',
testRunner : '1.2.0',
lifeycle_runtime : '2.0.0'
]
junit = [junit: "junit:junit:$versions.junit"]
lifecycle = [
'runtime': "androidx.lifecycle:lifecycle-runtime:$versions.lifeycle_runtime"
]
supportDeps = [
appcompatV7 : "androidx.appcompat:appcompat:$versions.support",
supportAnnotation: "androidx.annotation:annotation:$versions.support",
]
unitTest = [
supportAnnotation: "androidx.annotation:annotation:$versions.support",
] + junit
androidTests = [
espressoCore : "androidx.test.espresso:espresso-core:$versions.espresso",
espressoContrib: "androidx.test.espresso:espresso-contrib:$versions.espresso",
espressoIntents: "androidx.test.espresso:espresso-intents:$versions.espresso",
testRunner : "androidx.test:runner:$versions.testRunner",
testRules : "androidx.test:rules:$versions.testRunner",
]
gradlePlug = [
android: "com.android.tools.build:gradle:$versions.androidGradlePlugin",
bintray: "com.jfrog.bintray.gradle:gradle-bintray-plugin:$versions.gradleBintrayPlugin",
maven : "com.github.dcendents:android-maven-gradle-plugin:$versions.androidMavenGradlePlugin"
]
gradlePlugins = gradlePlug.values()
supportLibs = supportDeps.values()
unitTestLibs = unitTest.values()
androidTestsLibs = androidTests.values() + supportLibs
}