83 lines
2.6 KiB
Groovy
83 lines
2.6 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'org.jetbrains.kotlin.plugin.compose'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.mitchelbv.thuis_c'
|
|
compileSdk 36
|
|
|
|
defaultConfig {
|
|
applicationId "com.mitchelbv.thuis_c"
|
|
minSdk 30
|
|
targetSdk 36
|
|
versionCode 3
|
|
versionName "1.3"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion '1.3.2'
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
//Network
|
|
implementation 'com.squareup.retrofit2:retrofit:3.0.0'
|
|
implementation 'com.google.code.gson:gson:2.13.2'
|
|
implementation 'com.squareup.retrofit2:converter-gson:3.0.0'
|
|
|
|
// Display images from the internet
|
|
implementation "io.coil-kt:coil-compose:2.7.0"
|
|
|
|
// Database
|
|
implementation "androidx.room:room-runtime:2.8.4"
|
|
annotationProcessor("androidx.room:room-compiler:2.8.4")
|
|
|
|
// Navigation
|
|
implementation "androidx.navigation:navigation-compose:2.9.6"
|
|
|
|
// ViewModel
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.10.0"
|
|
|
|
implementation "androidx.compose.material:material-icons-core:1.7.8"
|
|
implementation("androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version")
|
|
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version")
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.10.0'
|
|
implementation 'androidx.activity:activity-compose:1.12.0'
|
|
implementation "androidx.compose.ui:ui:$compose_version"
|
|
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
|
|
implementation 'androidx.compose.material3:material3:1.4.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.3.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0'
|
|
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
|
|
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
|
|
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
|
|
} |