2023-11-04 13:47:07 +00:00
|
|
|
plugins {
|
|
|
|
id("com.android.application")
|
|
|
|
id("org.jetbrains.kotlin.android")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "eu.steffo.twom"
|
2023-11-04 13:57:29 +00:00
|
|
|
compileSdk = 34
|
2023-11-04 13:47:07 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId = "eu.steffo.twom"
|
2023-11-06 01:36:14 +00:00
|
|
|
minSdk = 31
|
2023-11-04 13:57:29 +00:00
|
|
|
targetSdk = 34
|
2023-11-04 13:47:07 +00:00
|
|
|
versionCode = 1
|
|
|
|
versionName = "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
2023-11-06 02:39:44 +00:00
|
|
|
vectorDrawables {
|
|
|
|
useSupportLibrary = true
|
|
|
|
}
|
2023-11-04 13:47:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
isMinifyEnabled = 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 {
|
|
|
|
viewBinding = true
|
2023-11-06 02:39:44 +00:00
|
|
|
compose = true
|
|
|
|
}
|
|
|
|
composeOptions {
|
|
|
|
kotlinCompilerExtensionVersion = "1.4.3"
|
|
|
|
}
|
|
|
|
packaging {
|
|
|
|
resources {
|
|
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
|
|
}
|
2023-11-04 13:47:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
2023-11-04 13:59:07 +00:00
|
|
|
implementation("androidx.core:core-ktx:1.12.0")
|
2023-11-04 13:47:07 +00:00
|
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
|
|
implementation("com.google.android.material:material:1.10.0")
|
|
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
|
|
|
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.6.2")
|
|
|
|
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2")
|
|
|
|
implementation("androidx.navigation:navigation-fragment-ktx:2.7.5")
|
|
|
|
implementation("androidx.navigation:navigation-ui-ktx:2.7.5")
|
2023-11-06 01:32:57 +00:00
|
|
|
implementation("androidx.compose.material3:material3:1.1.2")
|
2023-11-04 14:09:59 +00:00
|
|
|
implementation("org.matrix.android:matrix-android-sdk2:1.5.30")
|
2023-11-15 19:10:08 +00:00
|
|
|
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
2023-11-06 02:39:44 +00:00
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
|
2023-11-15 19:10:08 +00:00
|
|
|
implementation("androidx.activity:activity-compose:1.8.0")
|
2023-11-06 02:39:44 +00:00
|
|
|
implementation(platform("androidx.compose:compose-bom:2023.03.00"))
|
|
|
|
implementation("androidx.compose.ui:ui")
|
|
|
|
implementation("androidx.compose.ui:ui-graphics")
|
|
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
2023-11-04 13:47:07 +00:00
|
|
|
testImplementation("junit:junit:4.13.2")
|
|
|
|
androidTestImplementation("androidx.test.ext:junit:1.1.5")
|
|
|
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
|
2023-11-06 02:39:44 +00:00
|
|
|
androidTestImplementation(platform("androidx.compose:compose-bom:2023.03.00"))
|
|
|
|
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
|
|
|
|
debugImplementation("androidx.compose.ui:ui-tooling")
|
|
|
|
debugImplementation("androidx.compose.ui:ui-test-manifest")
|
2023-11-04 13:47:07 +00:00
|
|
|
}
|