futokb/voiceinput-shared/build.gradle

66 lines
2.1 KiB
Groovy
Raw Normal View History

2023-08-27 17:08:44 +01:00
plugins {
2024-01-11 20:26:38 +00:00
id 'com.android.library' version '8.2.0'
id 'org.jetbrains.kotlin.android' version '1.9.20'
2023-08-27 17:08:44 +01:00
}
android {
namespace 'org.futo.voiceinput.shared'
2024-01-11 20:26:38 +00:00
compileSdk 34
2023-08-27 17:08:44 +01:00
defaultConfig {
minSdk 24
2024-01-11 20:26:38 +00:00
targetSdk 34
2023-08-27 17:08:44 +01:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
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
viewBinding true
mlModelBinding true
}
composeOptions {
2024-01-11 20:26:38 +00:00
kotlinCompilerExtensionVersion '1.5.5'
2023-08-27 17:08:44 +01:00
}
}
dependencies {
2024-01-11 20:26:38 +00:00
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'
implementation 'androidx.lifecycle:lifecycle-runtime:2.7.0'
implementation 'androidx.lifecycle:lifecycle-runtime-compose:2.7.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0'
2024-01-11 20:26:38 +00:00
implementation 'androidx.activity:activity-compose:1.8.2'
implementation platform('androidx.compose:compose-bom:2024.02.02')
2023-08-27 17:08:44 +01:00
implementation 'androidx.compose.ui:ui'
implementation 'androidx.compose.ui:ui-graphics'
implementation 'androidx.compose.ui:ui-tooling-preview'
implementation 'androidx.compose.material3:material3'
2024-01-11 20:26:38 +00:00
implementation 'com.google.android.material:material:1.11.0'
2023-08-27 17:08:44 +01:00
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.navigation:navigation-compose:2.7.7'
2023-08-27 17:08:44 +01:00
implementation 'androidx.datastore:datastore-preferences:1.0.0'
implementation(name:'vad-release', ext:'aar')
implementation(name:'pocketfft-release', ext:'aar')
implementation(name:'tensorflow-lite-support-api', ext:'aar')
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1'
}