2025-03-11 07:55:50 +01:00
|
|
|
import mihon.buildlogic.Config
|
2024-04-06 07:07:11 +02:00
|
|
|
import mihon.buildlogic.getBuildTime
|
|
|
|
|
import mihon.buildlogic.getCommitCount
|
|
|
|
|
import mihon.buildlogic.getGitSha
|
2020-12-31 17:28:34 +01:00
|
|
|
|
|
|
|
|
plugins {
|
2024-04-06 07:07:11 +02:00
|
|
|
id("mihon.android.application")
|
|
|
|
|
id("mihon.android.application.compose")
|
2020-12-31 17:28:34 +01:00
|
|
|
kotlin("plugin.parcelize")
|
|
|
|
|
kotlin("plugin.serialization")
|
2024-09-03 10:09:12 +02:00
|
|
|
alias(libs.plugins.aboutLibraries)
|
2024-10-18 05:18:40 +02:00
|
|
|
id("com.github.ben-manes.versions")
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
|
|
|
|
|
2025-03-19 10:03:03 +01:00
|
|
|
if (Config.includeTelemetry) {
|
2024-09-05 10:29:28 +02:00
|
|
|
pluginManager.apply {
|
|
|
|
|
apply(libs.plugins.google.services.get().pluginId)
|
|
|
|
|
apply(libs.plugins.firebase.crashlytics.get().pluginId)
|
|
|
|
|
}
|
2020-12-31 17:32:18 +01:00
|
|
|
}
|
|
|
|
|
|
2020-12-31 17:28:34 +01:00
|
|
|
android {
|
2022-07-02 22:12:06 +02:00
|
|
|
namespace = "eu.kanade.tachiyomi"
|
2020-12-31 17:28:34 +01:00
|
|
|
|
|
|
|
|
defaultConfig {
|
2024-01-25 03:55:25 +01:00
|
|
|
applicationId = "app.komikku"
|
2023-07-08 16:02:20 +02:00
|
|
|
|
2025-10-08 01:07:09 +02:00
|
|
|
versionCode = 78
|
|
|
|
|
versionName = "1.13.6"
|
2020-12-31 17:28:34 +01:00
|
|
|
|
|
|
|
|
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
|
|
|
|
|
buildConfigField("String", "COMMIT_SHA", "\"${getGitSha()}\"")
|
2025-03-19 11:17:43 +01:00
|
|
|
buildConfigField("String", "BUILD_TIME", "\"${getBuildTime(useLastCommitTime = false)}\"")
|
2025-03-19 10:03:03 +01:00
|
|
|
buildConfigField("boolean", "TELEMETRY_INCLUDED", "${Config.includeTelemetry}")
|
2025-03-07 22:10:56 +01:00
|
|
|
buildConfigField("boolean", "UPDATER_ENABLED", "${Config.enableUpdater}")
|
2020-12-31 17:28:34 +01:00
|
|
|
|
2021-11-07 15:20:13 +01:00
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
2025-02-25 19:17:36 +01:00
|
|
|
val debug by getting {
|
|
|
|
|
applicationIdSuffix = ".dev"
|
2020-12-31 17:28:34 +01:00
|
|
|
versionNameSuffix = "-${getCommitCount()}"
|
2022-11-03 14:46:53 +01:00
|
|
|
isPseudoLocalesEnabled = true
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
2025-02-25 19:17:36 +01:00
|
|
|
val release by getting {
|
2025-03-07 22:10:56 +01:00
|
|
|
isMinifyEnabled = Config.enableCodeShrink
|
|
|
|
|
isShrinkResources = Config.enableCodeShrink
|
2025-02-25 19:17:36 +01:00
|
|
|
|
|
|
|
|
proguardFiles("proguard-android-optimize.txt", "proguard-rules.pro")
|
2025-03-19 00:16:03 +01:00
|
|
|
|
|
|
|
|
buildConfigField("String", "BUILD_TIME", "\"${getBuildTime(useLastCommitTime = true)}\"")
|
2025-02-25 19:17:36 +01:00
|
|
|
}
|
2025-03-07 22:10:56 +01:00
|
|
|
|
|
|
|
|
val commonMatchingFallbacks = listOf(release.name)
|
|
|
|
|
|
2020-12-31 17:28:34 +01:00
|
|
|
create("releaseTest") {
|
2025-02-25 19:17:36 +01:00
|
|
|
initWith(release)
|
|
|
|
|
|
2020-12-31 17:28:34 +01:00
|
|
|
applicationIdSuffix = ".rt"
|
2025-02-25 19:17:36 +01:00
|
|
|
isMinifyEnabled = false
|
|
|
|
|
isShrinkResources = false
|
|
|
|
|
|
2025-03-07 22:10:56 +01:00
|
|
|
matchingFallbacks.addAll(commonMatchingFallbacks)
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
2025-02-25 19:17:36 +01:00
|
|
|
create("foss") {
|
|
|
|
|
initWith(release)
|
|
|
|
|
|
2025-03-07 22:10:56 +01:00
|
|
|
applicationIdSuffix = ".foss"
|
2025-02-25 19:17:36 +01:00
|
|
|
|
2025-03-07 22:10:56 +01:00
|
|
|
matchingFallbacks.addAll(commonMatchingFallbacks)
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
2024-05-08 06:42:21 +02:00
|
|
|
create("preview") {
|
2025-02-25 19:17:36 +01:00
|
|
|
initWith(release)
|
2024-05-08 06:42:21 +02:00
|
|
|
|
|
|
|
|
applicationIdSuffix = ".beta"
|
2025-02-25 19:17:36 +01:00
|
|
|
|
|
|
|
|
versionNameSuffix = debug.versionNameSuffix
|
|
|
|
|
signingConfig = debug.signingConfig
|
|
|
|
|
|
2025-03-07 22:10:56 +01:00
|
|
|
matchingFallbacks.addAll(commonMatchingFallbacks)
|
2025-03-19 11:17:43 +01:00
|
|
|
|
|
|
|
|
buildConfigField("String", "BUILD_TIME", "\"${getBuildTime(useLastCommitTime = false)}\"")
|
2024-05-08 06:42:21 +02:00
|
|
|
}
|
2022-10-04 15:22:55 +02:00
|
|
|
create("benchmark") {
|
2025-02-25 19:17:36 +01:00
|
|
|
initWith(release)
|
2022-10-04 15:22:55 +02:00
|
|
|
|
|
|
|
|
isDebuggable = false
|
2023-08-04 22:15:25 +02:00
|
|
|
isProfileable = true
|
2025-02-25 19:17:36 +01:00
|
|
|
versionNameSuffix = "${debug.versionNameSuffix}-benchmark"
|
2022-10-04 15:22:55 +02:00
|
|
|
applicationIdSuffix = ".benchmark"
|
2025-02-25 19:17:36 +01:00
|
|
|
|
|
|
|
|
signingConfig = debug.signingConfig
|
|
|
|
|
|
2025-03-07 22:10:56 +01:00
|
|
|
matchingFallbacks.addAll(commonMatchingFallbacks)
|
2022-10-04 15:22:55 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sourceSets {
|
2024-05-08 06:42:21 +02:00
|
|
|
getByName("preview").res.srcDirs("src/beta/res")
|
2022-10-04 15:22:55 +02:00
|
|
|
getByName("benchmark").res.srcDirs("src/debug/res")
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
|
|
|
|
|
2025-02-25 19:17:36 +01:00
|
|
|
splits {
|
|
|
|
|
abi {
|
|
|
|
|
isEnable = true
|
|
|
|
|
isUniversalApk = true
|
|
|
|
|
reset()
|
|
|
|
|
include("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-17 00:02:24 +02:00
|
|
|
packaging {
|
2025-02-25 19:17:36 +01:00
|
|
|
jniLibs {
|
|
|
|
|
keepDebugSymbols += listOf(
|
|
|
|
|
"libandroidx.graphics.path",
|
|
|
|
|
"libarchive-jni",
|
|
|
|
|
"libconscrypt_jni",
|
|
|
|
|
"libimagedecoder",
|
|
|
|
|
"libquickjs",
|
|
|
|
|
"libsqlite3x",
|
|
|
|
|
)
|
|
|
|
|
.map { "**/$it.so" }
|
|
|
|
|
}
|
|
|
|
|
resources {
|
|
|
|
|
excludes += setOf(
|
2024-10-12 01:11:16 +02:00
|
|
|
"kotlin-tooling-metadata.json",
|
2023-09-02 05:02:18 +02:00
|
|
|
"LICENSE.txt",
|
2025-02-25 19:17:36 +01:00
|
|
|
"META-INF/**/*.properties",
|
2024-10-12 01:11:16 +02:00
|
|
|
"META-INF/**/LICENSE.txt",
|
|
|
|
|
"META-INF/*.properties",
|
|
|
|
|
"META-INF/*.version",
|
2025-02-25 19:17:36 +01:00
|
|
|
"META-INF/INDEX.LIST",
|
|
|
|
|
"META-INF/DEPENDENCIES",
|
|
|
|
|
"META-INF/LICENSE",
|
|
|
|
|
"META-INF/NOTICE",
|
|
|
|
|
"META-INF/README.md",
|
|
|
|
|
)
|
|
|
|
|
}
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependenciesInfo {
|
2025-03-07 22:10:56 +01:00
|
|
|
includeInApk = Config.includeDependencyInfo
|
|
|
|
|
includeInBundle = Config.includeDependencyInfo
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
|
|
|
|
|
2021-07-28 21:08:04 +02:00
|
|
|
buildFeatures {
|
|
|
|
|
viewBinding = true
|
2023-12-16 21:57:45 +01:00
|
|
|
buildConfig = true
|
2025-12-30 05:55:00 +01:00
|
|
|
aidl = true
|
2021-11-07 15:20:13 +01:00
|
|
|
|
|
|
|
|
// Disable some unused things
|
|
|
|
|
renderScript = false
|
|
|
|
|
shaders = false
|
2021-07-28 21:08:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lint {
|
2022-01-26 04:49:50 +01:00
|
|
|
abortOnError = false
|
|
|
|
|
checkReleaseBuilds = false
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-10-31 15:17:27 +01:00
|
|
|
kotlin {
|
|
|
|
|
compilerOptions {
|
|
|
|
|
freeCompilerArgs.addAll(
|
|
|
|
|
"-opt-in=androidx.compose.animation.ExperimentalAnimationApi",
|
|
|
|
|
"-opt-in=androidx.compose.animation.graphics.ExperimentalAnimationGraphicsApi",
|
|
|
|
|
"-opt-in=androidx.compose.foundation.ExperimentalFoundationApi",
|
|
|
|
|
"-opt-in=androidx.compose.foundation.layout.ExperimentalLayoutApi",
|
|
|
|
|
"-opt-in=androidx.compose.material3.ExperimentalMaterial3Api",
|
2025-12-26 19:50:03 +01:00
|
|
|
"-opt-in=androidx.compose.material3.ExperimentalMaterial3ExpressiveApi",
|
2024-10-31 15:17:27 +01:00
|
|
|
"-opt-in=androidx.compose.ui.ExperimentalComposeUiApi",
|
|
|
|
|
"-opt-in=coil3.annotation.ExperimentalCoilApi",
|
|
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
|
|
|
"-opt-in=kotlinx.coroutines.FlowPreview",
|
|
|
|
|
"-opt-in=kotlinx.coroutines.InternalCoroutinesApi",
|
|
|
|
|
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-31 17:28:34 +01:00
|
|
|
dependencies {
|
2024-01-23 13:35:58 +01:00
|
|
|
implementation(projects.i18n)
|
2024-06-10 11:27:20 +02:00
|
|
|
// KMK -->
|
|
|
|
|
implementation(projects.i18nKmk)
|
|
|
|
|
// KMK <--
|
2023-11-18 19:54:56 +01:00
|
|
|
// SY -->
|
2024-01-23 13:35:58 +01:00
|
|
|
implementation(projects.i18nSy)
|
2023-11-18 19:54:56 +01:00
|
|
|
// SY <--
|
2024-09-05 12:00:46 +02:00
|
|
|
implementation(projects.core.archive)
|
2024-01-29 10:11:28 +01:00
|
|
|
implementation(projects.core.common)
|
2024-01-23 13:35:58 +01:00
|
|
|
implementation(projects.coreMetadata)
|
|
|
|
|
implementation(projects.sourceApi)
|
|
|
|
|
implementation(projects.sourceLocal)
|
|
|
|
|
implementation(projects.data)
|
|
|
|
|
implementation(projects.domain)
|
|
|
|
|
implementation(projects.presentationCore)
|
|
|
|
|
implementation(projects.presentationWidget)
|
2025-03-11 07:55:50 +01:00
|
|
|
implementation(projects.telemetry)
|
2022-09-10 15:58:45 +02:00
|
|
|
|
2022-04-24 16:22:22 +02:00
|
|
|
// Compose
|
|
|
|
|
implementation(compose.activity)
|
2022-04-23 01:40:09 +02:00
|
|
|
implementation(compose.foundation)
|
|
|
|
|
implementation(compose.material3.core)
|
2022-04-23 18:05:00 +02:00
|
|
|
implementation(compose.material.icons)
|
2022-04-23 01:40:09 +02:00
|
|
|
implementation(compose.animation)
|
2022-06-25 17:03:48 +02:00
|
|
|
implementation(compose.animation.graphics)
|
2023-06-23 14:26:35 +02:00
|
|
|
debugImplementation(compose.ui.tooling)
|
|
|
|
|
implementation(compose.ui.tooling.preview)
|
2022-05-24 00:03:46 +02:00
|
|
|
implementation(compose.ui.util)
|
2024-08-20 21:39:11 +02:00
|
|
|
|
2024-07-22 09:15:46 +02:00
|
|
|
implementation(androidx.interpolator)
|
2022-04-23 01:40:09 +02:00
|
|
|
|
|
|
|
|
implementation(androidx.paging.runtime)
|
|
|
|
|
implementation(androidx.paging.compose)
|
|
|
|
|
|
2022-07-03 16:17:41 +02:00
|
|
|
implementation(libs.bundles.sqlite)
|
2023-05-06 17:06:54 +02:00
|
|
|
// SY -->
|
2024-06-27 02:03:24 +02:00
|
|
|
implementation(sylibs.sqlcipher)
|
2023-05-06 17:06:54 +02:00
|
|
|
// SY <--
|
2022-04-23 01:40:09 +02:00
|
|
|
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(kotlinx.reflect)
|
2023-11-12 04:43:50 +01:00
|
|
|
implementation(kotlinx.immutables)
|
2022-10-31 00:38:18 +01:00
|
|
|
|
|
|
|
|
implementation(platform(kotlinx.coroutines.bom))
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(kotlinx.bundles.coroutines)
|
2021-07-04 18:20:32 +02:00
|
|
|
|
2020-12-31 17:28:34 +01:00
|
|
|
// AndroidX libraries
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(androidx.annotation)
|
|
|
|
|
implementation(androidx.appcompat)
|
|
|
|
|
implementation(androidx.biometricktx)
|
|
|
|
|
implementation(androidx.constraintlayout)
|
|
|
|
|
implementation(androidx.corektx)
|
|
|
|
|
implementation(androidx.splashscreen)
|
|
|
|
|
implementation(androidx.recyclerview)
|
|
|
|
|
implementation(androidx.viewpager)
|
2022-10-04 15:22:55 +02:00
|
|
|
implementation(androidx.profileinstaller)
|
2022-03-04 15:58:31 +01:00
|
|
|
|
|
|
|
|
implementation(androidx.bundles.lifecycle)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
|
|
|
|
// Job scheduling
|
2023-10-15 04:22:46 +02:00
|
|
|
implementation(androidx.workmanager)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
2023-03-05 21:37:41 +01:00
|
|
|
// RxJava
|
2023-08-26 16:30:26 +02:00
|
|
|
implementation(libs.rxjava)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
2023-03-05 21:37:41 +01:00
|
|
|
// Networking
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(libs.bundles.okhttp)
|
|
|
|
|
implementation(libs.okio)
|
2023-03-05 21:37:41 +01:00
|
|
|
implementation(libs.conscrypt.android) // TLS 1.3 support for Android < 10
|
2020-12-31 17:28:34 +01:00
|
|
|
|
2023-02-26 22:16:49 +01:00
|
|
|
// Data serialization (JSON, protobuf, xml)
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(kotlinx.bundles.serialization)
|
2021-09-06 17:54:00 +02:00
|
|
|
|
2021-08-07 16:50:50 +02:00
|
|
|
// HTML parser
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(libs.jsoup)
|
2021-08-07 16:50:50 +02:00
|
|
|
|
2020-12-31 17:28:34 +01:00
|
|
|
// Disk
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(libs.disklrucache)
|
|
|
|
|
implementation(libs.unifile)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
|
|
|
|
// Preferences
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(libs.preferencektx)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
|
|
|
|
// Dependency injection
|
2024-09-08 16:09:45 +02:00
|
|
|
implementation(libs.injekt)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
2021-08-07 16:50:50 +02:00
|
|
|
// Image loading
|
2023-06-01 04:48:13 +02:00
|
|
|
implementation(platform(libs.coil.bom))
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(libs.bundles.coil)
|
|
|
|
|
implementation(libs.subsamplingscaleimageview) {
|
2021-05-25 19:42:48 +02:00
|
|
|
exclude(module = "image-decoder")
|
|
|
|
|
}
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(libs.image.decoder)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
2021-08-07 16:50:50 +02:00
|
|
|
// UI libraries
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(libs.material)
|
|
|
|
|
implementation(libs.flexible.adapter.core)
|
|
|
|
|
implementation(libs.photoview)
|
|
|
|
|
implementation(libs.directionalviewpager) {
|
2021-09-20 20:33:35 +02:00
|
|
|
exclude(group = "androidx.viewpager", module = "viewpager")
|
|
|
|
|
}
|
2025-03-29 22:18:38 +01:00
|
|
|
implementation(libs.richeditor.compose)
|
2022-04-23 16:52:19 +02:00
|
|
|
implementation(libs.aboutLibraries.compose)
|
2022-10-15 17:38:01 +02:00
|
|
|
implementation(libs.bundles.voyager)
|
2023-03-05 21:37:41 +01:00
|
|
|
implementation(libs.compose.materialmotion)
|
2023-07-08 16:02:20 +02:00
|
|
|
implementation(libs.swipe)
|
2024-03-23 02:10:18 +01:00
|
|
|
implementation(libs.compose.webview)
|
2024-03-28 20:02:33 +01:00
|
|
|
implementation(libs.compose.grid)
|
2024-12-31 05:26:40 +01:00
|
|
|
implementation(libs.reorderable)
|
2025-04-01 08:52:15 +02:00
|
|
|
implementation(libs.bundles.markdown)
|
2025-12-26 19:30:42 +01:00
|
|
|
implementation(libs.materialKolor)
|
2024-08-23 15:39:28 +02:00
|
|
|
|
|
|
|
|
// KMK -->
|
2024-06-03 19:18:49 +02:00
|
|
|
implementation(libs.palette.ktx)
|
2024-06-22 14:39:01 +02:00
|
|
|
implementation(libs.haze)
|
2024-08-23 15:39:28 +02:00
|
|
|
implementation(compose.colorpicker)
|
2024-09-05 12:00:46 +02:00
|
|
|
implementation(projects.flagkit)
|
2024-08-23 15:39:28 +02:00
|
|
|
// KMK <--
|
2020-12-31 17:28:34 +01:00
|
|
|
|
2021-08-07 16:50:50 +02:00
|
|
|
// Logging
|
2024-05-25 11:13:21 +02:00
|
|
|
implementation(libs.timber)
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(libs.logcat)
|
2021-08-07 16:50:50 +02:00
|
|
|
|
2021-09-25 20:31:52 +02:00
|
|
|
// Shizuku
|
2022-03-04 15:58:31 +01:00
|
|
|
implementation(libs.bundles.shizuku)
|
2021-09-25 20:31:52 +02:00
|
|
|
|
2020-12-31 17:28:34 +01:00
|
|
|
// Tests
|
2023-04-15 15:51:52 +02:00
|
|
|
testImplementation(libs.bundles.test)
|
2025-06-07 21:34:02 +02:00
|
|
|
testRuntimeOnly(libs.junit.platform.launcher)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
|
|
|
|
// For detecting memory leaks; see https://square.github.io/leakcanary/
|
2022-03-04 15:58:31 +01:00
|
|
|
// debugImplementation(libs.leakcanary.android)
|
2022-04-24 22:28:09 +02:00
|
|
|
implementation(libs.leakcanary.plumber)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
2024-03-28 19:36:33 +01:00
|
|
|
testImplementation(kotlinx.coroutines.test)
|
|
|
|
|
|
2020-12-31 17:28:34 +01:00
|
|
|
// SY -->
|
|
|
|
|
// Text distance (EH)
|
2024-10-28 09:48:05 +01:00
|
|
|
implementation(sylibs.similarity)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
|
|
|
|
// Better logging (EH)
|
2022-03-04 22:34:21 +01:00
|
|
|
implementation(sylibs.xlog)
|
2020-12-31 17:28:34 +01:00
|
|
|
|
|
|
|
|
// RatingBar (SY)
|
2022-03-04 22:34:21 +01:00
|
|
|
implementation(sylibs.ratingbar)
|
2022-08-31 20:41:35 +02:00
|
|
|
implementation(sylibs.composeRatingbar)
|
2024-06-27 02:03:24 +02:00
|
|
|
|
|
|
|
|
// Google drive
|
|
|
|
|
implementation(sylibs.google.api.services.drive)
|
2025-05-11 20:15:05 +02:00
|
|
|
|
|
|
|
|
// ZXing Android Embedded
|
|
|
|
|
implementation(sylibs.zxing.android.embedded)
|
2020-12-31 17:28:34 +01:00
|
|
|
}
|
|
|
|
|
|
2022-10-04 15:22:55 +02:00
|
|
|
androidComponents {
|
2022-10-30 16:42:06 +01:00
|
|
|
onVariants(selector().withFlavor("default" to "standard")) {
|
|
|
|
|
// Only excluding in standard flavor because this breaks
|
|
|
|
|
// Layout Inspector's Compose tree
|
|
|
|
|
it.packaging.resources.excludes.add("META-INF/*.version")
|
|
|
|
|
}
|
2022-10-04 15:22:55 +02:00
|
|
|
}
|
|
|
|
|
|
2020-12-31 17:32:18 +01:00
|
|
|
buildscript {
|
|
|
|
|
dependencies {
|
2022-03-04 15:58:31 +01:00
|
|
|
classpath(kotlinx.gradle)
|
2021-01-17 17:09:29 +01:00
|
|
|
}
|
|
|
|
|
}
|