83 lines
2.6 KiB
Groovy
83 lines
2.6 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.mitchelbv.thuis_c'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId "com.mitchelbv.thuis_c"
|
|
minSdk 30
|
|
targetSdk 34
|
|
versionCode 2
|
|
versionName "1.1"
|
|
|
|
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.4.4'
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
//Network
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
|
|
|
// Display images from the internet
|
|
implementation 'io.coil-kt:coil-compose:2.5.0'
|
|
|
|
// Database
|
|
implementation 'androidx.room:room-runtime:2.6.0'
|
|
annotationProcessor('androidx.room:room-compiler:2.6.0')
|
|
|
|
// Navigation
|
|
implementation 'androidx.navigation:navigation-compose:2.7.5'
|
|
|
|
// ViewModel
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.6.2'
|
|
implementation('androidx.lifecycle:lifecycle-runtime-compose:2.6.2')
|
|
implementation('androidx.compose.runtime:runtime-livedata:1.5.4')
|
|
|
|
|
|
implementation 'androidx.core:core-ktx:1.12.0'
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.2'
|
|
implementation 'androidx.activity:activity-compose:1.8.0'
|
|
implementation "androidx.compose.ui:ui:$compose_version"
|
|
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
|
|
implementation 'androidx.compose.material3:material3:1.1.2'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
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"
|
|
} |