Skip to content

Commit

Permalink
Merge pull request #189 from gradle/wolfs/license
Browse files Browse the repository at this point in the history
Add license information to pom
  • Loading branch information
wolfs authored Jan 17, 2020
2 parents 562c688 + aab5cb9 commit 8dbbdc3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,17 @@ publishing {
register<MavenPublication>("mavenJava") {
from(components["java"])
artifact(profilerDistribution)
pom {
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
}
}
}
}

publishing {
repositories {
maven {
name = "GradleBuildInternal"
Expand Down

0 comments on commit 8dbbdc3

Please sign in to comment.