2024-06-14 20:36:23 +00:00
|
|
|
import com.android.build.api.dsl.Packaging
|
|
|
|
|
|
2024-06-03 20:56:01 +00:00
|
|
|
plugins {
|
|
|
|
|
alias(libs.plugins.android.application)
|
2024-06-12 13:05:19 +00:00
|
|
|
alias(libs.plugins.jetbrains.kotlin.android)
|
2024-06-03 20:56:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
2024-06-12 13:05:19 +00:00
|
|
|
namespace = "xyz.r0r5chach.dermy_app"
|
2024-06-03 20:56:01 +00:00
|
|
|
compileSdk = 34
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
2024-06-12 13:05:19 +00:00
|
|
|
applicationId = "xyz.r0r5chach.dermy_app"
|
|
|
|
|
minSdk = 24
|
2024-06-03 20:56:01 +00:00
|
|
|
targetSdk = 34
|
|
|
|
|
versionCode = 1
|
|
|
|
|
versionName = "1.0"
|
|
|
|
|
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
isMinifyEnabled = false
|
|
|
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
2024-06-12 13:05:19 +00:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_16
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_16
|
|
|
|
|
}
|
|
|
|
|
kotlinOptions {
|
2024-06-14 20:36:23 +00:00
|
|
|
jvmTarget = "16"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
packaging {
|
|
|
|
|
resources.excludes.add("META-INF/native-image/org.mongodb/bson/native-image.properties")
|
2024-06-03 20:56:01 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
2024-06-12 13:05:19 +00:00
|
|
|
implementation(libs.androidx.core.ktx)
|
|
|
|
|
implementation(libs.androidx.appcompat)
|
2024-06-03 20:56:01 +00:00
|
|
|
implementation(libs.material)
|
2024-06-12 13:05:19 +00:00
|
|
|
implementation(libs.androidx.preference)
|
|
|
|
|
implementation(libs.androidx.room.common)
|
2024-06-03 20:56:01 +00:00
|
|
|
testImplementation(libs.junit)
|
2024-06-12 13:05:19 +00:00
|
|
|
androidTestImplementation(libs.androidx.junit)
|
|
|
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
2024-06-03 20:56:01 +00:00
|
|
|
|
2024-06-12 13:05:19 +00:00
|
|
|
//FragmentX
|
|
|
|
|
implementation(libs.androidx.fragment.ktx)
|
2024-06-03 20:56:01 +00:00
|
|
|
|
2024-06-12 13:05:19 +00:00
|
|
|
//CameraX
|
|
|
|
|
implementation(libs.androidx.camera.view)
|
|
|
|
|
implementation(libs.androidx.camera.core)
|
|
|
|
|
implementation(libs.androidx.camera.lifecycle)
|
2024-06-03 20:56:01 +00:00
|
|
|
|
2024-06-12 13:05:19 +00:00
|
|
|
//MongoDB
|
|
|
|
|
implementation(libs.mongodb.driver.kotlin.sync)
|
2024-06-14 20:36:23 +00:00
|
|
|
|
|
|
|
|
//Api Requests
|
|
|
|
|
implementation(libs.retrofit.v2110)
|
|
|
|
|
implementation(libs.converter.jackson)
|
|
|
|
|
|
|
|
|
|
//Jsoup
|
|
|
|
|
implementation(libs.jsoup.jsoup)
|
2024-06-03 20:56:01 +00:00
|
|
|
}
|