2022-12-16 17:20:13 +00:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'org.jetbrains.kotlin.android'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace 'com.whispercppdemo'
|
2023-09-07 09:15:59 +00:00
|
|
|
compileSdk 34
|
2022-12-16 17:20:13 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.whispercppdemo"
|
|
|
|
minSdk 26
|
2023-09-07 09:15:59 +00:00
|
|
|
targetSdk 34
|
2022-12-16 17:20:13 +00:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
vectorDrawables {
|
|
|
|
useSupportLibrary true
|
|
|
|
}
|
2023-11-07 12:27:33 +00:00
|
|
|
|
2022-12-16 17:20:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
minifyEnabled true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
2023-09-07 09:15:59 +00:00
|
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
|
|
targetCompatibility JavaVersion.VERSION_17
|
2022-12-16 17:20:13 +00:00
|
|
|
}
|
|
|
|
kotlinOptions {
|
2023-09-07 09:15:59 +00:00
|
|
|
jvmTarget = '17'
|
2022-12-16 17:20:13 +00:00
|
|
|
}
|
|
|
|
buildFeatures {
|
|
|
|
compose true
|
|
|
|
}
|
|
|
|
composeOptions {
|
2023-09-07 09:15:59 +00:00
|
|
|
kotlinCompilerExtensionVersion '1.5.0'
|
2022-12-16 17:20:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-11-07 12:27:33 +00:00
|
|
|
implementation project(':lib')
|
2023-09-07 09:15:59 +00:00
|
|
|
implementation 'androidx.activity:activity-compose:1.7.2'
|
|
|
|
implementation 'androidx.compose.material:material-icons-core:1.5.0'
|
|
|
|
implementation 'androidx.compose.material3:material3:1.1.1'
|
|
|
|
implementation "androidx.compose.ui:ui:1.5.0"
|
|
|
|
implementation "androidx.compose.ui:ui-tooling-preview:1.5.0"
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.6.1'
|
2022-12-16 17:20:13 +00:00
|
|
|
implementation "com.google.accompanist:accompanist-permissions:0.28.0"
|
2023-09-07 09:15:59 +00:00
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.2'
|
2022-12-16 17:20:13 +00:00
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
2023-09-07 09:15:59 +00:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
|
|
androidTestImplementation "androidx.compose.ui:ui-test-junit4:1.5.0"
|
|
|
|
debugImplementation "androidx.compose.ui:ui-tooling:1.5.0"
|
|
|
|
debugImplementation "androidx.compose.ui:ui-test-manifest:1.5.0"
|
2022-12-16 17:20:13 +00:00
|
|
|
}
|