mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Update dependency gradle to v8 (#1630)
* Update dependency gradle to v8 * Remove VERSION_CATALOGS feature * Match JDK 19 in toolchain * Update forces + fix japicmp version * ??? * Another * Update japicmp * Update shadow plugin --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Zac Sweers <pandanomic@gmail.com>
This commit is contained in:
@@ -9,22 +9,24 @@ val baseline = configurations.create("baseline")
|
||||
val latest = configurations.create("latest")
|
||||
|
||||
dependencies {
|
||||
baseline("com.squareup.moshi:moshi-adapters:1.13.0") {
|
||||
baseline("com.squareup.moshi:moshi-adapters:1.14.0") {
|
||||
isTransitive = false
|
||||
isForce = true
|
||||
version {
|
||||
strictly("1.14.0")
|
||||
}
|
||||
}
|
||||
latest(project(":moshi-adapters"))
|
||||
}
|
||||
|
||||
val japicmp = tasks.register<JapicmpTask>("japicmp") {
|
||||
dependsOn("jar")
|
||||
oldClasspath = baseline
|
||||
newClasspath = latest
|
||||
isOnlyBinaryIncompatibleModified = true
|
||||
isFailOnModification = true
|
||||
txtOutputFile = file("$buildDir/reports/japi.txt")
|
||||
isIgnoreMissingClasses = true
|
||||
isIncludeSynthetic = true
|
||||
oldClasspath.from(baseline)
|
||||
newClasspath.from(latest)
|
||||
onlyBinaryIncompatibleModified.set(true)
|
||||
failOnModification.set(true)
|
||||
txtOutputFile.set(layout.buildDirectory.file("reports/japi.txt"))
|
||||
ignoreMissingClasses.set(true)
|
||||
includeSynthetic.set(true)
|
||||
}
|
||||
|
||||
tasks.named("check").configure {
|
||||
|
Reference in New Issue
Block a user