mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-06 17:34:32 +02:00
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
|
|
plugins {
|
|
alias(libs.plugins.androidLibrary)
|
|
alias(libs.plugins.kotlinAndroid)
|
|
}
|
|
android {
|
|
namespace = "me.rhunk.snapenhance.core"
|
|
compileSdk = 34
|
|
|
|
buildFeatures {
|
|
aidl = true
|
|
buildConfig = true
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdk = 28
|
|
buildConfigField("String", "VERSION_NAME", "\"${rootProject.ext["appVersionName"]}\"")
|
|
buildConfigField("int", "VERSION_CODE", "${rootProject.ext["appVersionCode"]}")
|
|
buildConfigField("String", "APPLICATION_ID", "\"${rootProject.ext["applicationId"]}\"")
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
tasks.register("getVersion") {
|
|
doLast {
|
|
val versionFile = File("app/build/version.txt")
|
|
versionFile.writeText(android.defaultConfig.versionName.toString())
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(files("libs/LSPosed-api-1.0-SNAPSHOT.jar"))
|
|
implementation(libs.coroutines)
|
|
implementation(libs.kotlin.reflect)
|
|
implementation(libs.recyclerview)
|
|
implementation(libs.gson)
|
|
implementation(libs.ffmpeg.kit)
|
|
implementation(libs.osmdroid.android)
|
|
implementation(libs.okhttp)
|
|
implementation(libs.androidx.documentfile)
|
|
|
|
implementation(project(":mapper"))
|
|
} |