85 lines
2.7 KiB
Groovy
85 lines
2.7 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'com.google.gms.google-services'
|
|
}
|
|
|
|
android {
|
|
namespace 'id.ac.umn.nutrimo'
|
|
compileSdk 36
|
|
|
|
defaultConfig {
|
|
applicationId "id.ac.umn.nutrimo"
|
|
minSdk 26
|
|
targetSdk 36
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
debuggable false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug{
|
|
debuggable true
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.7.1'
|
|
implementation 'com.google.android.material:material:1.13.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
|
implementation 'androidx.navigation:navigation-fragment:2.9.6'
|
|
implementation 'androidx.navigation:navigation-ui:2.9.6'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.3.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0'
|
|
// Import the Firebase BoM
|
|
implementation platform('com.google.firebase:firebase-bom:34.6.0')
|
|
|
|
// TODO: Add the dependencies for Firebase products you want to use
|
|
// When using the BoM, don't specify versions in Firebase dependencies
|
|
implementation 'com.google.firebase:firebase-analytics'
|
|
implementation 'com.google.firebase:firebase-storage'
|
|
implementation 'com.google.firebase:firebase-database'
|
|
implementation 'com.google.firebase:firebase-auth-ktx:23.2.1'
|
|
|
|
//denzcoskun slider
|
|
implementation 'com.github.denzcoskun:ImageSlideshow:0.1.0'
|
|
// FirebaseUI for Firebase Realtime Database
|
|
implementation 'com.firebaseui:firebase-ui-database:9.1.1'
|
|
|
|
// FirebaseUI for Firebase Auth
|
|
implementation 'com.firebaseui:firebase-ui-auth:8.0.2'
|
|
|
|
// FirebaseUI for Cloud Storage
|
|
implementation 'com.firebaseui:firebase-ui-storage:9.1.1'
|
|
|
|
//Image processing
|
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
|
implementation 'com.github.bumptech.glide:glide:5.0.5'
|
|
implementation 'org.jsoup:jsoup:1.21.2'
|
|
|
|
//Room Database
|
|
def room_version = "2.8.4"
|
|
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
annotationProcessor "androidx.room:room-compiler:$room_version"
|
|
|
|
//Graph
|
|
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
|
|
implementation 'com.github.PhilJay:MPAndroidChart:3.1.0'
|
|
|
|
} |