tirbofish/dropbear · diff
fix up magna-carta-plugin/build.gradle.kts to publish to github pages maven repo (because it didnt for some reason)
Signature present but could not be verified.
Unverified
@@ -32,4 +32,42 @@ gradlePlugin { version = version as String } } +} + +publishing { + publications { + withType<MavenPublication>().configureEach { + pom { + name.set("magna-carta") + description.set("Gradle plugin for manifest generation for the Dropbear engine") + url.set("https://4tkbytes.github.io/dropbear/") + + licenses { + license { + name.set("MIT License") + url.set("https://opensource.org/licenses/MIT") + } + } + developers { + developer { + id.set("4tkbytes") + name.set("4tkbytes") + email.set("4tkbytes@pm.me") + } + } + scm { + connection.set("scm:git:git://github.com/4tkbytes/dropbear.git") + developerConnection.set("scm:git:ssh://github.com/4tkbytes/dropbear.git") + url.set("https://github.com/4tkbytes/dropbear") + } + } + } + } + + repositories { + maven { + name = "GitHubPages" + url = uri("${layout.buildDirectory}/repo") + } + } }