diff --git a/buildSrc/src/main/kotlin/PublishingHelpers.kt b/buildSrc/src/main/kotlin/PublishingHelpers.kt index 6da830f74..226b0325b 100644 --- a/buildSrc/src/main/kotlin/PublishingHelpers.kt +++ b/buildSrc/src/main/kotlin/PublishingHelpers.kt @@ -90,7 +90,19 @@ fun MavenPublication.setupPom( developerConnection.set("scm:${vcs.replace("https:", "git:")}.git") } + licenses { + license { + name.set("GNU AGPLv3") + url.set("https://github.com/mamoe/mirai/blob/master/LICENSE") + } + } + developers { + developer { + id.set("mamoe") + name.set("Mamoe Technologies") + email.set("support@mamoe.net") + } } }