92 lines
3.2 KiB
Groovy
92 lines
3.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'kotlin-kapt'
|
|
id 'com.google.dagger.hilt.android'
|
|
id 'org.jetbrains.kotlin.plugin.serialization'
|
|
}
|
|
|
|
android {
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "me.mudkip.moememos"
|
|
minSdk 26
|
|
targetSdk 33
|
|
versionCode 8
|
|
versionName "0.4.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
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 compose_version
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
aaptOptions {
|
|
cruncherEnabled = false
|
|
}
|
|
namespace 'me.mudkip.moememos'
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.core:core-ktx:1.9.0'
|
|
implementation "androidx.compose.ui:ui:$compose_version"
|
|
implementation "androidx.compose.material:material-icons-extended:1.3.1"
|
|
implementation "androidx.compose.material3:material3:$material3"
|
|
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
|
|
implementation 'androidx.activity:activity-compose:1.6.1'
|
|
implementation "com.google.accompanist:accompanist-navigation-animation:$accompanist"
|
|
implementation "com.google.accompanist:accompanist-swiperefresh:$accompanist"
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
|
|
implementation "com.squareup.retrofit2:converter-moshi:$retrofit_version"
|
|
implementation "com.squareup.moshi:moshi:$moshi"
|
|
implementation "com.squareup.moshi:moshi-kotlin:$moshi"
|
|
implementation "com.squareup.moshi:moshi-adapters:$moshi"
|
|
implementation "com.github.skydoves:sandwich:$sandwich"
|
|
implementation "com.github.skydoves:sandwich-serialization:$sandwich"
|
|
implementation "net.gotev:cookie-store:1.5.0"
|
|
implementation "net.gotev:cookie-store-okhttp:1.5.0"
|
|
implementation "io.coil-kt:coil-compose:2.2.2"
|
|
implementation "org.jetbrains:markdown:0.3.3"
|
|
|
|
implementation "com.google.dagger:hilt-android:2.44"
|
|
kapt "com.google.dagger:hilt-compiler:2.44"
|
|
implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
|
|
|
|
implementation "androidx.datastore:datastore-preferences:$datastore"
|
|
implementation "com.jakewharton.timber:timber:5.0.1"
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
|
|
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"
|
|
} |