Address some gradle warnings (#259)

* chore: Address AGP 8.X warning
* chore(core): Address conflicting-namespace warning
This commit is contained in:
Claudemirovsky 2024-01-15 04:53:42 -03:00 committed by GitHub
parent d8434dc51d
commit 7145763652
2 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,9 @@ android {
applicationIdSuffix pkgNameSuffix applicationIdSuffix pkgNameSuffix
versionCode extVersionCode versionCode extVersionCode
versionName project.ext.properties.getOrDefault("libVersion", "1.4") + ".$extVersionCode" versionName project.ext.properties.getOrDefault("libVersion", "1.4") + ".$extVersionCode"
setProperty("archivesBaseName", "tachiyomi-$pkgNameSuffix-v$versionName") base {
archivesName = "tachiyomi-$pkgNameSuffix-v$versionName"
}
def readmes = project.projectDir.listFiles({ File file -> def readmes = project.projectDir.listFiles({ File file ->
file.name == "README.md" || file.name == "CHANGELOG.md" file.name == "README.md" || file.name == "CHANGELOG.md"
} as FileFilter) } as FileFilter)

View File

@ -9,7 +9,7 @@ android {
minSdk = AndroidConfig.minSdk minSdk = AndroidConfig.minSdk
} }
namespace = "eu.kanade.tachiyomi.extension" namespace = "eu.kanade.tachiyomi.extension.core"
@Suppress("UnstableApiUsage") @Suppress("UnstableApiUsage")
sourceSets { sourceSets {