Switch to publish-plugin and fix pom info for orx-git-archiver-gradle

This commit is contained in:
Edwin Jakobs
2021-11-28 23:27:16 +01:00
parent c0c7116237
commit a85bb18136
2 changed files with 54 additions and 0 deletions

View File

@@ -14,4 +14,39 @@ gradlePlugin {
implementationClass = "org.openrndr.extra.gitarchiver.GitArchiveToMarkdown"
}
}
}
publishing {
afterEvaluate {
publications {
withType(MavenPublication::class) {
pom {
name.set("gitarchiver tomarkdown")
description.set("gitarchiver to markdown gradle plugin")
url.set("https://openrndr.org")
developers {
developer {
id.set("edwinjakobs")
name.set("Edwin Jakobs")
email.set("edwin@openrndr.org")
}
}
licenses {
license {
name.set("BSD-2-Clause")
url.set("https://github.com/openrndr/openrndr/blob/master/LICENSE")
distribution.set("repo")
}
}
scm {
connection.set("scm:git:git@github.com:openrndr/orx.git")
developerConnection.set("scm:git:ssh://github.com/openrndr/orx.git")
url.set("https://github.com/openrndr/openrndr")
}
}
}
}
}
}