-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
96 lines (82 loc) · 2.74 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
buildscript {
ext.kotlin_version = '1.9.22'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.2'
classpath 'com.google.gms:google-services:4.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
dependencies {
implementation fileTree(include: '*.jar', dir: 'libs')
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'androidx.activity:activity-ktx:1.8.2'
implementation 'androidx.fragment:fragment-ktx:1.6.2'
implementation 'com.google.android.material:material:1.11.0'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
implementation 'androidx.drawerlayout:drawerlayout:1.2.0'
implementation 'com.google.android.gms:play-services-location:21.1.0'
implementation 'com.google.firebase:firebase-messaging-ktx:23.4.1'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.work:work-runtime-ktx:2.9.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1'
implementation 'com.google.code.gson:gson:2.10'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
}
android {
namespace 'com.nadmm.airports'
defaultConfig {
applicationId "com.nadmm.airports"
minSdkVersion 24
targetSdkVersion 34
compileSdk 34
versionName "6.30.7"
versionCode 63007
buildToolsVersion = "34.0.0"
vectorDrawables.useSupportLibrary = true
}
signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
}
}
buildTypes {
debug {
}
release {
signingConfig signingConfigs.release
}
}
android.applicationVariants.configureEach { variant ->
variant.outputs.configureEach {
outputFileName = "flightintel-${variant.name}-${variant.versionName}.apk"
}
}
compileOptions {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
// Sets Java compatibility to Java 8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlin {
jvmToolchain(11)
}
}
apply plugin: 'com.google.gms.google-services'