mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Update more dependencies (#1319)
This commit is contained in:
@@ -36,11 +36,11 @@ val japicmp = tasks.register<JapicmpTask>("japicmp") {
|
||||
dependsOn("jar")
|
||||
oldClasspath = baseline
|
||||
newClasspath = latest
|
||||
onlyBinaryIncompatibleModified = true
|
||||
failOnModification = true
|
||||
isOnlyBinaryIncompatibleModified = true
|
||||
isFailOnModification = true
|
||||
txtOutputFile = file("$buildDir/reports/japi.txt")
|
||||
ignoreMissingClasses = true
|
||||
includeSynthetic = true
|
||||
isIgnoreMissingClasses = true
|
||||
isIncludeSynthetic = true
|
||||
}
|
||||
|
||||
tasks.named("check").configure {
|
||||
|
@@ -30,11 +30,11 @@ buildscript {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id("com.vanniktech.maven.publish") version "0.13.0" apply false
|
||||
id("org.jetbrains.dokka") version "1.4.10" apply false
|
||||
id("com.diffplug.spotless") version "5.6.0"
|
||||
id("ru.vyarus.animalsniffer") version "1.5.1" apply false
|
||||
id("me.champeau.gradle.japicmp") version "0.2.8" apply false
|
||||
id("com.vanniktech.maven.publish") version "0.14.2" apply false
|
||||
id("org.jetbrains.dokka") version "1.4.30" apply false
|
||||
id("com.diffplug.spotless") version "5.11.0"
|
||||
id("ru.vyarus.animalsniffer") version "1.5.3" apply false
|
||||
id("me.champeau.gradle.japicmp") version "0.2.9" apply false
|
||||
}
|
||||
|
||||
spotless {
|
||||
|
@@ -39,12 +39,12 @@ object Dependencies {
|
||||
}
|
||||
|
||||
object Kotlin {
|
||||
const val version = "1.4.30"
|
||||
const val version = "1.4.31"
|
||||
const val metadata = "org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.2.0"
|
||||
}
|
||||
|
||||
object KotlinPoet {
|
||||
private const val version = "1.7.2"
|
||||
private const val version = "1.8.0"
|
||||
const val kotlinPoet = "com.squareup:kotlinpoet:$version"
|
||||
const val metadata = "com.squareup:kotlinpoet-metadata-specs:$version"
|
||||
const val metadataSpecs = "com.squareup:kotlinpoet-metadata-specs:$version"
|
||||
@@ -54,7 +54,7 @@ object Dependencies {
|
||||
object Testing {
|
||||
const val assertj = "org.assertj:assertj-core:3.11.1"
|
||||
const val compileTesting = "com.github.tschuchortdev:kotlin-compile-testing:1.3.6"
|
||||
const val junit = "junit:junit:4.13.1"
|
||||
const val junit = "junit:junit:4.13.2"
|
||||
const val truth = "com.google.truth:truth:1.0.1"
|
||||
}
|
||||
}
|
||||
|
@@ -36,11 +36,11 @@ val japicmp = tasks.register<JapicmpTask>("japicmp") {
|
||||
dependsOn("jar")
|
||||
oldClasspath = baseline
|
||||
newClasspath = latest
|
||||
onlyBinaryIncompatibleModified = true
|
||||
failOnModification = true
|
||||
isOnlyBinaryIncompatibleModified = true
|
||||
isFailOnModification = true
|
||||
txtOutputFile = file("$buildDir/reports/japi.txt")
|
||||
ignoreMissingClasses = true
|
||||
includeSynthetic = true
|
||||
isIgnoreMissingClasses = true
|
||||
isIncludeSynthetic = true
|
||||
classExcludes = listOf(
|
||||
"com.squareup.moshi.internal.NonNullJsonAdapter", // Internal.
|
||||
"com.squareup.moshi.internal.NullSafeJsonAdapter", // Internal.
|
||||
|
Reference in New Issue
Block a user