-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
124 lines (107 loc) · 4.27 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/**
* [TRIfA], Gradle part of TRIfA Notify Companion App
* Copyright (C) 2021 Zoff <zoff@zoff.cc>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* 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, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
check.dependsOn 'assembleDebugAndroidTest'
android {
compileSdkVersion 31
defaultConfig {
applicationId "com.zoffcc.applications.pushmsg"
minSdkVersion 16
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 30
versionCode 10005
versionName "1.0.5"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'LICENSE.txt'
//
exclude 'kotlin/**'
exclude 'kotlin/*'
exclude 'kotlin'
exclude 'kotlin-tooling-metadata.json'
exclude 'META-INF/*.kotlin_module'
exclude 'META-INF/kotlin*'
exclude 'META-INF/services/kotlinx.coroutines.android.AndroidExceptionPreHandler'
exclude 'META-INF/services/kotlinx.coroutines.android.AndroidDispatcherFactory'
//
exclude 'META-INF/*version'
//
exclude 'DebugProbesKt.bin'
exclude 'firebase-common.properties'
exclude 'firebase-components.properties'
exclude 'firebase-datatransport.properties'
exclude 'firebase-encoders-json.properties'
exclude 'firebase-iid-interop.properties'
exclude 'firebase-iid.properties'
exclude 'firebase-installations-interop.properties'
exclude 'firebase-installations.properties'
exclude 'firebase-measurement-connector.properties'
exclude 'firebase-messaging.properties'
exclude 'play-services-basement.properties'
exclude 'play-services-base.properties'
exclude 'play-services-cloud-messaging.properties'
exclude 'play-services-stats.properties'
exclude 'play-services-tasks.properties'
exclude 'transport-api.properties'
exclude 'transport-backend-cct.properties'
exclude 'transport-runtime.properties'
}
lintOptions {
abortOnError false
}
buildFeatures {
viewBinding = true
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
dependencies {
//implementation project(":internal:lintchecks")
//implementation project(":internal:chooserx")
implementation 'androidx.annotation:annotation:1.4.0'
implementation 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
implementation 'androidx.core:core:1.8.0'
implementation 'com.google.android.material:material:1.6.1'
implementation platform('com.google.firebase:firebase-bom:26.1.1')
implementation 'com.google.firebase:firebase-messaging'
implementation 'com.github.UnifiedPush:android-connector:1.1.3'
//Firebase Cloud Messaging (Kotlin)
// implementation 'com.google.firebase:firebase-messaging-ktx'
// implementation 'com.google.firebase:firebase-installations-ktx:16.3.4'
implementation 'android.arch.work:work-runtime:1.0.1'
implementation 'androidx.appcompat:appcompat:1.4.2'
//noinspection KtxExtensionAvailable
implementation 'androidx.preference:preference:1.2.0'
// Testing dependencies
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test:rules:1.4.0'
androidTestImplementation 'androidx.annotation:annotation:1.4.0'
}
apply plugin: 'com.google.gms.google-services'