mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 16:39:22 +08:00
Switch to the Vanniktech base plugin for publishing (#1450)
* Switch to the Vanniktech base plugin for publishing Move configuration out of build.gradle files and into build.gradle.kts files. Sign published builds. Support publishing release builds from GitHub actions. * Update build.gradle.kts Co-authored-by: Zac Sweers <zac.sweers@gmail.com> Co-authored-by: Zac Sweers <zac.sweers@gmail.com>
This commit is contained in:
@@ -69,14 +69,14 @@ dependencies {
|
||||
// Do nothing
|
||||
}
|
||||
KAPT -> {
|
||||
"kaptTest"(project(":kotlin:codegen"))
|
||||
"kaptTest"(project(":kotlin:moshi-kotlin-codegen"))
|
||||
}
|
||||
KSP -> {
|
||||
"kspTest"(project(":kotlin:codegen"))
|
||||
"kspTest"(project(":kotlin:moshi-kotlin-codegen"))
|
||||
}
|
||||
}
|
||||
testImplementation(project(":moshi"))
|
||||
testImplementation(project(":kotlin:reflect"))
|
||||
testImplementation(project(":kotlin:moshi-kotlin"))
|
||||
testImplementation(project(":kotlin:tests:extra-moshi-test-module"))
|
||||
testImplementation(kotlin("reflect"))
|
||||
testImplementation(libs.junit)
|
||||
|
@@ -68,17 +68,17 @@ dependencies {
|
||||
when (testMode) {
|
||||
REFLECT -> {
|
||||
// Default to KSP in this case, this is a CI-only thing
|
||||
"kspTest"(project(":kotlin:codegen"))
|
||||
"kspTest"(project(":kotlin:moshi-kotlin-codegen"))
|
||||
}
|
||||
KAPT -> {
|
||||
"kaptTest"(project(":kotlin:codegen"))
|
||||
"kaptTest"(project(":kotlin:moshi-kotlin-codegen"))
|
||||
}
|
||||
KSP -> {
|
||||
"kspTest"(project(":kotlin:codegen"))
|
||||
"kspTest"(project(":kotlin:moshi-kotlin-codegen"))
|
||||
}
|
||||
}
|
||||
testImplementation(project(":moshi"))
|
||||
testImplementation(project(":kotlin:reflect"))
|
||||
testImplementation(project(":kotlin:moshi-kotlin"))
|
||||
testImplementation(project(":kotlin:tests:extra-moshi-test-module"))
|
||||
testImplementation(kotlin("reflect"))
|
||||
testImplementation(libs.junit)
|
||||
|
Reference in New Issue
Block a user