This repository has been archived by the owner on Jun 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
109 lines (87 loc) · 3.21 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
/**
* This file is part of INU Cafeteria.
*
* Copyright (C) 2020 INU Global App Center <[email protected]>
*
* INU Cafeteria 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 3 of the License, or
* (at your option) any later version.
*
* INU Cafeteria 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 <https://www.gnu.org/licenses/>.
*/
plugins {
id 'com.android.library'
id 'kotlin-android'
}
android {
compileSdkVersion 29
defaultConfig {
minSdkVersion 24
targetSdkVersion 29
versionCode project.ext.versionCode
versionName project.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
/**
* Dependencies below will be used globally in every module.
* The 'api' artifact reveals its dependencies to its user,
* allowing them to be used without 'implementation' again in each module.
*/
/** Kotlin */
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
/** Core ktx */
api "androidx.core:core-ktx:$kotlin_core_ktx_version"
/** Appcompat */
api "androidx.appcompat:appcompat:$appcompat_version"
/** Timber */
api "com.jakewharton.timber:timber:$timber_version"
/** Koin */
api "org.koin:koin-android:$koin_version"
/** Retrofit2 */
api "com.squareup.retrofit2:retrofit:$retrofit_version"
api "com.squareup.retrofit2:converter-gson:$retrofit_version"
/** GSON */
api "com.google.code.gson:gson:$gson_version"
/** Jsoup */
api "org.jsoup:jsoup:$jsoup_version"
/** Barcode */
api "com.google.zxing:core:$zxing_version"
/** Coroutine */
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutine_version"
/** Volley */
api "com.android.volley:volley:$volley_version"
/** Firebase stuffs here. */
api platform("com.google.firebase:firebase-bom:$firebase_bom_version")
api 'com.google.firebase:firebase-analytics-ktx'
api 'com.google.firebase:firebase-messaging-ktx'
api 'com.google.firebase:firebase-crashlytics-ktx'
api 'com.google.firebase:firebase-config-ktx'
api 'com.google.firebase:firebase-perf-ktx'
/** Tests */
testImplementation "junit:junit:$junit_version"
androidTestImplementation "androidx.test:runner:$test_runner_version"
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_core_version"
}