mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 11:51:50 +01:00
More cleanup/refactoring of dependencies
This commit is contained in:
parent
36c6e30e13
commit
49aee663ca
@ -104,13 +104,13 @@ object LegacyPluginClassPath {
|
||||
}
|
||||
|
||||
object AndroidVersions {
|
||||
const val BUILD_TOOL = "29.0.3"
|
||||
const val COMPILE_SDK = 29
|
||||
const val MIN_SDK = 23
|
||||
const val TARGET_SDK = 29
|
||||
const val VERSION_CODE = 68
|
||||
const val VERSION_NAME = "1.0.11"
|
||||
const val NDK = "22.0.7026061"
|
||||
const val buildTools = "29.0.3"
|
||||
const val compileSdk = 29
|
||||
const val minSdk = 23
|
||||
const val targetSdk = 29
|
||||
const val versionCode = 68
|
||||
const val versionName = "1.0.11"
|
||||
const val ndk = "22.0.7026061"
|
||||
}
|
||||
|
||||
object Plugins {
|
||||
@ -129,20 +129,6 @@ object Plugins {
|
||||
|
||||
data class PluginClass(val name: String, val version: String)
|
||||
|
||||
object Configs {
|
||||
const val applicationId = "tachiyomi.mangadex"
|
||||
const val buildToolsVersion = "29.0.3"
|
||||
const val compileSdkVersion = 29
|
||||
const val minSdkVersion = 24
|
||||
const val targetSdkVersion = 29
|
||||
const val testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
const val versionCode = 110
|
||||
const val versionName = "2.2.2.2"
|
||||
}
|
||||
|
||||
object BuildPluginsVersion {
|
||||
}
|
||||
|
||||
fun isNonStable(version: String): Boolean {
|
||||
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.toUpperCase().contains(it) }
|
||||
val regex = "^[0-9,.v-]+(-r)?$".toRegex()
|
||||
|
Loading…
Reference in New Issue
Block a user