mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
Modernize build a bit (#1383)
This commit is contained in:
@@ -20,10 +20,10 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(Dependencies.jsr305)
|
||||
compileOnly(libs.jsr305)
|
||||
api(project(":moshi"))
|
||||
|
||||
testCompileOnly(Dependencies.jsr305)
|
||||
testImplementation(Dependencies.Testing.junit)
|
||||
testImplementation(Dependencies.Testing.truth)
|
||||
testCompileOnly(libs.jsr305)
|
||||
testImplementation(libs.junit)
|
||||
testImplementation(libs.truth)
|
||||
}
|
||||
|
@@ -25,7 +25,7 @@ val baseline = configurations.create("baseline")
|
||||
val latest = configurations.create("latest")
|
||||
|
||||
dependencies {
|
||||
baseline("com.squareup.moshi:moshi-adapters:1.11.0") {
|
||||
baseline("com.squareup.moshi:moshi-adapters:1.12.0") {
|
||||
isTransitive = false
|
||||
isForce = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user