MTU-Dining/app/build.gradle.kts

42 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-02-17 00:50:44 +00:00
plugins {
id("com.android.application")
}
android {
namespace = "com.thebrokenrail.mtudining"
compileSdk = 34
defaultConfig {
applicationId = "com.thebrokenrail.mtudining"
minSdk = 21
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
2024-02-17 03:04:50 +00:00
// Desugaring (Java 8+ APIs)
isCoreLibraryDesugaringEnabled = true
2024-02-17 00:50:44 +00:00
}
}
dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.11.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
2024-02-17 03:04:50 +00:00
// OkHttp (For HTTP)
implementation("com.squareup.okhttp3:okhttp:4.12.0")
// Moshi (For JSON)
implementation("com.squareup.moshi:moshi:1.15.0")
// Desugaring
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
2024-02-17 00:50:44 +00:00
}