This repository has been archived by the owner on Jun 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
62 lines (56 loc) · 2.29 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.0'
repositories {
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://jitpack.io' }
mavenCentral()
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
compileSdkVersion = 30
buildToolsVersion = '30.0.1'
minSdkVersion = 21
targetSdkVersion = 30
versionCode = 1
versionName = "1.0.0"
androidx = [
annotation : 'androidx.annotation:annotation:1.0.1',
appcompat : 'androidx.appcompat:appcompat:1.2.0',
browser : 'androidx.browser:browser:1.2.0',
cardview : 'androidx.cardview:cardview:1.0.0',
constraintlayout : 'androidx.constraintlayout:constraintlayout:1.1.3',
coordinatorlayout : 'androidx.coordinatorlayout:coordinatorlayout:1.1.0',
core : 'androidx.core:core:1.2.0',
exifinterface : 'androidx.exifinterface:exifinterface:1.3.0-alpha01',
experiemntal : 'androidx.annotation:annotation-experimental:1.0.0',
fragment : 'androidx.fragment:fragment:1.0.0',
lifecycle_runtime : 'androidx.lifecycle:lifecycle-runtime:2.0.0',
recyclerview : 'androidx.recyclerview:recyclerview:1.1.0',
recyclerview_selection: 'androidx.recyclerview:recyclerview-selection:1.0.0',
transition : 'androidx.transition:transition:1.4.0-beta01',
vectordrawable : 'androidx.vectordrawable:vectordrawable:1.1.0',
viewpager2 : 'androidx.viewpager2:viewpager2:1.0.0'
]
}