mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
* Convert Rfc3339DateJsonAdapter * Convert EnumJsonAdapter * Convert PolymorphicJsonAdapterFactory * Convert Rfc3339DateJsonAdapter and Iso8601Utils * Doc indent fix * Use template * Address CR comments * Spotless and jsr cleanup * Couple small tweaks * Remove toList() * Use simpler map * Inline GregorianCalendar * Interp * Fix copyright * interp * Fix another copyright * Restore toList()
29 lines
651 B
Plaintext
29 lines
651 B
Plaintext
import com.vanniktech.maven.publish.JavadocJar.Javadoc
|
|
import com.vanniktech.maven.publish.KotlinJvm
|
|
import com.vanniktech.maven.publish.MavenPublishBaseExtension
|
|
import org.gradle.jvm.tasks.Jar
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("com.vanniktech.maven.publish.base")
|
|
id("org.jetbrains.dokka")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(libs.jsr305)
|
|
api(project(":moshi"))
|
|
|
|
testImplementation(libs.junit)
|
|
testImplementation(libs.truth)
|
|
}
|
|
|
|
tasks.withType<Jar>().configureEach {
|
|
manifest {
|
|
attributes("Automatic-Module-Name" to "com.squareup.moshi.adapters")
|
|
}
|
|
}
|
|
|
|
configure<MavenPublishBaseExtension> {
|
|
configure(KotlinJvm(javadocJar = Javadoc()))
|
|
}
|