-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
67 lines (53 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
67
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '1.4.21'
gms_google_services = '4.2.0'
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.gms:google-services:$gms_google_services"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
ext {
compile_sdk_version = 30
application_id = "com.grumpyshoe.modules.pushmanager.sample"
min_sdk_version = 16
target_sdk_version = 30
build_tools_version = "30.0.3"
version_code = 1
version_name = "1.3.0"
libs = [
// google support
appcompat : ("androidx.appcompat:appcompat:1.2.0"),
// firebase
firebase_core : ("com.google.firebase:firebase-core:18.0.2"),
firebase_iid : ("com.google.firebase:firebase-iid:21.0.1"),
firebase_messaging: ("com.google.firebase:firebase-messaging:21.0.1"),
// Tests
junit : ("androidx.test.ext:junit:1.1.2"),
test_runner : ("androidx.test:runner:1.3.0"),
espresso_core : ("androidx.test.espresso:espresso-core:3.3.0"),
// other
constraint_layout : ("androidx.constraintlayout:constraintlayout:2.0.4"),
kotlin : ("org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"),
coroutines : ("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2")
]
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}