/
build.gradle
65 lines (57 loc) · 2.3 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
plugins {
id 'com.android.application'
}
def apikeyPropertiesFile = rootProject.file("apikey.properties")
def apikeyProperties = new Properties()
apikeyProperties.load(new FileInputStream(apikeyPropertiesFile))
android {
compileSdk 32
defaultConfig {
applicationId "com.example.foodlife"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField("String", "SPOONACULAR_KEY", apikeyProperties['SPOONACULAR_KEY'])
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
ext {
roomVersion = "2.1.0"
}
dependencies {
implementation "androidx.room:room-runtime:$roomVersion"
annotationProcessor "androidx.room:room-compiler:$roomVersion"
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation "com.github.parse-community.Parse-SDK-Android:parse:1.18.5"
implementation 'com.codepath.libraries:asynchttpclient:2.2.0'
implementation 'com.github.bumptech.glide:glide:4.12.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation "androidx.cardview:cardview:1.0.0"
implementation 'org.parceler:parceler-api:1.1.12'
implementation 'com.snappydb:snappydb-lib:0.5.2'
implementation 'com.github.sharish:ShimmerRecyclerView:v1.3'
implementation 'com.facebook.android:facebook-android-sdk:latest.release'
implementation 'com.facebook.shimmer:shimmer:0.5.0'
implementation 'com.github.xabaras:RecyclerViewSwipeDecorator:1.4'
annotationProcessor 'org.parceler:parceler:1.1.12'
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}