Merge :core and :utils (#8927)
@ -38,7 +38,7 @@ kotlinter {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
|
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
|
||||||
implementation(project(":utils"))
|
implementation(project(":core"))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
@ -103,7 +103,6 @@ dependencies {
|
|||||||
if (theme != null) implementation(theme) // Overrides core launcher icons
|
if (theme != null) implementation(theme) // Overrides core launcher icons
|
||||||
implementation(project(":core"))
|
implementation(project(":core"))
|
||||||
compileOnly(libs.bundles.common)
|
compileOnly(libs.bundles.common)
|
||||||
implementation(project(":utils"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register("writeManifestFile") {
|
tasks.register("writeManifestFile") {
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
id("com.android.library")
|
||||||
|
kotlin("android")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
@ -9,17 +10,18 @@ android {
|
|||||||
minSdk = AndroidConfig.minSdk
|
minSdk = AndroidConfig.minSdk
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace = "eu.kanade.tachiyomi.extension.core"
|
namespace = "keiyoushi.core"
|
||||||
|
|
||||||
sourceSets {
|
|
||||||
named("main") {
|
|
||||||
manifest.srcFile("AndroidManifest.xml")
|
|
||||||
res.setSrcDirs(listOf("res"))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
resValues = false
|
resValues = false
|
||||||
shaders = false
|
shaders = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kotlinOptions {
|
||||||
|
freeCompilerArgs += "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
@ -8,7 +8,6 @@ loadAllIndividualExtensions()
|
|||||||
* ===================================== COMMON CONFIGURATION ======================================
|
* ===================================== COMMON CONFIGURATION ======================================
|
||||||
*/
|
*/
|
||||||
include(":core")
|
include(":core")
|
||||||
include(":utils")
|
|
||||||
|
|
||||||
// Load all modules under /lib
|
// Load all modules under /lib
|
||||||
File(rootDir, "lib").eachDir { include("lib:${it.name}") }
|
File(rootDir, "lib").eachDir { include("lib:${it.name}") }
|
||||||
|
@ -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())
|
|
||||||
}
|
|