com.github.squirrelgrip.plugin.model.MavenMetaData.kt Maven / Gradle / Ivy
package com.github.squirrelgrip.plugin.model
import com.fasterxml.jackson.annotation.JsonProperty
data class MavenMetaData(
@JsonProperty("groupId")
val groupId: String,
@JsonProperty("artifactId")
val artifactId: String,
@JsonProperty("modelVersion")
val modelVersion: String?,
@JsonProperty("version")
val version: String?,
@JsonProperty("versioning")
val versioning: Versioning,
) {
fun updateTime(): MavenMetaData =
copy(versioning = versioning.updateTime())
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy