mirror of
https://github.com/gotson/komga.git
synced 2026-01-02 05:47:42 +01:00
build: add bestbefore to prevent shipping deprecated code on major versions
This commit is contained in:
parent
466e980423
commit
7f1fded130
1 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import org.apache.tools.ant.taskdefs.condition.Os
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.jreleaser.model.Active
|
||||
|
|
@ -18,6 +17,7 @@ plugins {
|
|||
id("com.github.johnrengelman.processes") version "0.5.0"
|
||||
id("org.springdoc.openapi-gradle-plugin") version "1.6.0"
|
||||
id("org.jreleaser") version "1.6.0"
|
||||
id("com.google.devtools.ksp") version "1.8.22-1.0.11"
|
||||
|
||||
jacoco
|
||||
}
|
||||
|
|
@ -115,6 +115,10 @@ dependencies {
|
|||
implementation("org.xerial:sqlite-jdbc:3.42.0.0")
|
||||
jooqGenerator("org.xerial:sqlite-jdbc:3.42.0.0")
|
||||
|
||||
if (version.toString().endsWith(".0.0")) {
|
||||
ksp("com.github.gotson.bestbefore:bestbefore-processor-kotlin:0.1.0")
|
||||
}
|
||||
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test") {
|
||||
exclude(module = "mockito-core")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue