mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 06:42:07 +01:00
* Cleanup graphql setting mutation
* Validate values read from config
* Generate server-reference.conf files from ServerConfig
* Remove unnecessary enum value handling in config value update
Commit df0078b725 introduced the usage of config4k, which handles enums automatically. Thus, this handling is outdated and not needed anymore
* Generate gql SettingsType from ServerConfig
* Extract settings backup logic
* Generate settings backup files
* Move "group" arg to second position
To make it easier to detect and have it at the same position consistently for all settings.
* Remove setting generation from compilation
* Extract setting generation code into new module
* Extract pure setting generation code into new module
* Remove generated settings files from src tree
* Force each setting to set a default value
40 lines
962 B
Kotlin
40 lines
962 B
Kotlin
plugins {
|
|
id(
|
|
libs.plugins.kotlin.jvm
|
|
.get()
|
|
.pluginId,
|
|
)
|
|
}
|
|
|
|
dependencies {
|
|
// Core Kotlin
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
implementation(kotlin("reflect"))
|
|
|
|
// Coroutines for MutableStateFlow
|
|
implementation(libs.coroutines.core)
|
|
implementation(libs.coroutines.jdk8)
|
|
|
|
// Config handling
|
|
implementation(libs.config)
|
|
implementation(libs.config4k)
|
|
|
|
// Logging
|
|
implementation(libs.slf4japi)
|
|
implementation(libs.kotlinlogging)
|
|
|
|
// Database (for SortOrder enum used in ServerConfig)
|
|
implementation(libs.exposed.core)
|
|
|
|
// GraphQL types used in ServerConfig
|
|
implementation(libs.graphql.kotlin.scheme)
|
|
|
|
// AndroidCompat for SystemPropertyOverridableConfigModule
|
|
implementation(projects.androidCompat.config)
|
|
|
|
// Serialization
|
|
implementation(libs.serialization.json)
|
|
implementation(libs.serialization.protobuf)
|
|
}
|
|
|