add license (apache2) and copyright info
This commit is contained in:
@@ -27,6 +27,9 @@ val dokkaJavadocJar by tasks.registering(Jar::class) {
|
||||
from(tasks.dokkaGeneratePublicationJavadoc.flatMap { it.outputDirectory })
|
||||
archiveClassifier.set("javadoc")
|
||||
}
|
||||
tasks.build {
|
||||
dependsOn(tasks["dokkaJavadocJar"])
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
@@ -34,6 +37,29 @@ publishing {
|
||||
from(components["java"])
|
||||
tasks["generateMetadataFileForMavenPublication"].dependsOn(dokkaJavadocJar)
|
||||
artifact(dokkaJavadocJar)
|
||||
pom {
|
||||
name = "${project.group}:${project.name}"
|
||||
description = "Kotlin utilities for Swing application"
|
||||
url = "https://git.eksb.net/stephen/kswingutil"
|
||||
licenses {
|
||||
license {
|
||||
name = "The Apache License, Version 2.0"
|
||||
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
|
||||
}
|
||||
}
|
||||
developers {
|
||||
developer {
|
||||
name = "Stephen Byrne"
|
||||
email = "code@eksb.net"
|
||||
url = "https://git.eksb.net/stephen"
|
||||
}
|
||||
}
|
||||
scm {
|
||||
url = "not used"
|
||||
connection = "not used"
|
||||
developerConnection = "not used"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user