-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (59 loc) · 2.02 KB
/
build.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
/*
* Copyright (C) 2020 Nain57
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; If not, see <http://www.gnu.org/licenses/>.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.6.0'
ext.kotlinx_version = '1.5.2-native-mt'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
ext {
androidxAppCompatVersion = '1.4.0'
androidxAnnotationVersion = '1.3.0'
androidxCoreVersion = '1.7.0'
androidxLifecycleVersion = '2.4.0'
androidxLifecycleExtensionVersion = '2.2.0'
androidxRecyclerViewVersion = '1.2.1'
androidxFragmentVersion = '1.4.0'
androidxRoomVersion = '2.4.0-rc01'
googleMaterialVersion = '1.4.0'
jUnitVersion = '4.13.2'
androidxArchCoreTestingVersion = '2.1.0'
androidxTestCoreVersion = '1.4.0'
androidxTestExtVersion = '1.1.3'
mockitoCoreVersion = '3.12.4'
mockitoKotlinVersion = '3.2.0'
robolectricVersion = '4.4'
}
task clean (type: Delete) {
delete rootProject.buildDir
}