mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 23:05:26 +02:00
130 lines
4.2 KiB
Groovy
130 lines
4.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'org.jetbrains.kotlin.plugin.serialization'
|
|
}
|
|
|
|
android {
|
|
namespace 'app.myzel394.alibi'
|
|
compileSdk 34
|
|
|
|
def keystoreProperties = new Properties()
|
|
def keystorePropertiesFile = rootProject.file('key.properties')
|
|
if (keystorePropertiesFile.exists()) {
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
}
|
|
|
|
androidResources {
|
|
generateLocaleConfig = true
|
|
}
|
|
|
|
splits {
|
|
abi {
|
|
enable true
|
|
|
|
universalApk true
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
multiDexEnabled true
|
|
applicationId "app.myzel394.alibi"
|
|
minSdk 24
|
|
targetSdk 34
|
|
versionCode 4
|
|
versionName "0.2.1"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
keyAlias keystoreProperties['keyAlias']
|
|
keyPassword keystoreProperties['keyPassword']
|
|
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
|
storePassword keystoreProperties['storePassword']
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
signingConfig signingConfigs.release
|
|
|
|
debuggable false
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
applicationIdSuffix ".debug"
|
|
debuggable true
|
|
}
|
|
}
|
|
compileOptions {
|
|
coreLibraryDesugaringEnabled true
|
|
// Sets Java compatibility to Java 8
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion '1.5.1'
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.core:core-ktx:1.10.1'
|
|
implementation platform('org.jetbrains.kotlin:kotlin-bom:1.8.0')
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
|
|
implementation 'androidx.activity:activity-compose:1.7.2'
|
|
implementation platform('androidx.compose:compose-bom:2022.10.00')
|
|
implementation 'androidx.compose.ui:ui'
|
|
implementation 'androidx.compose.ui:ui-graphics'
|
|
implementation 'androidx.compose.ui:ui-tooling-preview'
|
|
implementation 'androidx.compose.material3:material3'
|
|
implementation "androidx.compose.material:material-icons-extended:1.5.0"
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'androidx.lifecycle:lifecycle-service:2.6.1'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
androidTestImplementation platform('androidx.compose:compose-bom:2022.10.00')
|
|
androidTestImplementation 'androidx.compose.ui:ui-test-junit4'
|
|
debugImplementation 'androidx.compose.ui:ui-tooling'
|
|
debugImplementation 'androidx.compose.ui:ui-test-manifest'
|
|
|
|
implementation "androidx.navigation:navigation-compose:2.7.0"
|
|
|
|
implementation 'com.google.dagger:hilt-android:2.46.1'
|
|
annotationProcessor 'com.google.dagger:hilt-compiler:2.46.1'
|
|
implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
|
|
|
|
implementation 'com.arthenica:ffmpeg-kit-min-gpl:5.1'
|
|
|
|
implementation "androidx.datastore:datastore-preferences:1.0.0"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1"
|
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
|
|
|
|
implementation 'com.maxkeppeler.sheets-compose-dialogs:core:1.2.0'
|
|
implementation 'com.maxkeppeler.sheets-compose-dialogs:duration:1.2.0'
|
|
implementation 'com.maxkeppeler.sheets-compose-dialogs:list:1.2.0'
|
|
implementation 'com.maxkeppeler.sheets-compose-dialogs:input:1.2.0'
|
|
|
|
implementation 'io.github.ujizin:camposer:0.1.0'
|
|
implementation "com.github.skydoves:cloudy:0.1.2"
|
|
} |