Merge :core and :utils (#8927)

This commit is contained in:
FourTOne5 2025-05-21 17:17:44 +06:00 committed by Draff
parent 0532069813
commit 1b73235d3a
Signed by: Draff
GPG Key ID: E8A89F3211677653
15 changed files with 11 additions and 44 deletions

View File

@ -38,7 +38,7 @@ kotlinter {
dependencies {
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
implementation(project(":utils"))
implementation(project(":core"))
}
tasks {

View File

@ -103,7 +103,6 @@ dependencies {
if (theme != null) implementation(theme) // Overrides core launcher icons
implementation(project(":core"))
compileOnly(libs.bundles.common)
implementation(project(":utils"))
}
tasks.register("writeManifestFile") {

View File

@ -1,5 +1,6 @@
plugins {
id("com.android.library")
kotlin("android")
}
android {
@ -9,17 +10,18 @@ android {
minSdk = AndroidConfig.minSdk
}
namespace = "eu.kanade.tachiyomi.extension.core"
sourceSets {
named("main") {
manifest.srcFile("AndroidManifest.xml")
res.setSrcDirs(listOf("res"))
}
}
namespace = "keiyoushi.core"
buildFeatures {
resValues = false
shaders = false
}
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
}
}
dependencies {
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
}

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -8,7 +8,6 @@ loadAllIndividualExtensions()
* ===================================== COMMON CONFIGURATION ======================================
*/
include(":core")
include(":utils")
// Load all modules under /lib
File(rootDir, "lib").eachDir { include("lib:${it.name}") }

View File

@ -1,33 +0,0 @@
plugins {
id("com.android.library")
kotlin("android")
}
android {
compileSdk = AndroidConfig.compileSdk
defaultConfig {
minSdk = AndroidConfig.minSdk
}
namespace = "keiyoushi.utils"
sourceSets {
named("main") {
java.setSrcDirs(listOf("src"))
}
}
buildFeatures {
resValues = false
shaders = false
}
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
}
}
dependencies {
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
}