-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
77 lines (72 loc) · 3.17 KB
/
Copy pathbuild.gradle
File metadata and controls
77 lines (72 loc) · 3.17 KB
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
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'com.google.firebase.firebase-perf'
android {
compileSdkVersion 33
defaultConfig {
applicationId "org.inventivetalent.trashapp"
minSdkVersion 19
targetSdkVersion 33
versionCode Integer.parseInt("4" + rootProject.ext.appVersionId)
versionName rootProject.ext.appVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
resConfigs "en", "en-rGB", "de", "es", "nl", "ru", "sv"
}
buildTypes {
debug {
minifyEnabled false
splits.abi.enable = false
splits.density.enable = false
resValue('string', "admob_unit_1", "ca-app-pub-3940256099942544/6300978111")
resValue('string', "admob_unit_2", "ca-app-pub-3940256099942544/6300978111")
}
release {
resValue('string', "admob_unit_1", AdMobUnit1)
resValue('string', "admob_unit_2", AdMobUnit2)
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.6.0'
implementation 'androidx.constraintlayout:constraintlayout:2.2.0-alpha10'
implementation 'com.google.android.material:material:1.6.0'
implementation project(':trashapp_common')
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.preference:preference:1.2.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
wearApp project(':wear')
implementation "androidx.preference:preference:1.2.0"
implementation 'org.osmdroid:osmdroid-android:6.1.0'
implementation 'com.google.android.gms:play-services-ads:21.4.0'
implementation "androidx.room:room-runtime:2.5.0"
annotationProcessor "androidx.room:room-compiler:2.5.0"
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.google.android.gms:play-services-location:21.0.1'
implementation 'com.google.firebase:firebase-core:21.1.1'
implementation 'com.google.firebase:firebase-crashlytics:18.3.2'
implementation 'com.google.firebase:firebase-analytics:21.2.0'
implementation 'com.google.firebase:firebase-perf:20.3.0'
// implementation 'io.github.kobakei:ratethisapp:1.2.0'
implementation 'com.google.code.gson:gson:2.9.0'
// debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == "com.android.support") {
if (!requested.name.startsWith("multidex")) {
details.useVersion "26.+"
}
}
}
}
apply plugin: 'com.google.gms.google-services'