Skip to content

Commit 8ed02a6

Browse files
authored
Merge pull request #1904 from pedroSG94/feature/license-to-pom
add license to pom
2 parents 07f53ff + 1770668 commit 8ed02a6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

build.gradle.kts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
allprojects {
22
group = "com.github.pedroSG94"
33
version = "2.6.4"
4+
5+
plugins.withType<PublishingPlugin> {
6+
configure<PublishingExtension> {
7+
publications.withType<MavenPublication>().all {
8+
pom {
9+
name = "RootEncoder"
10+
description = "A stream encoder to push video/audio to media servers"
11+
url = "https://github.com/pedroSG94/RootEncoder"
12+
licenses {
13+
license {
14+
name = "Apache-2.0"
15+
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
16+
distribution = "manual"
17+
}
18+
}
19+
}
20+
}
21+
}
22+
}
423
}
524

625
plugins {

0 commit comments

Comments
 (0)