Skip to content

Commit c57db6f

Browse files
committed
Add the license to the POM
1 parent e3f7907 commit c57db6f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.gradle

+12
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,18 @@ publishing {
6262
from components.java
6363
artifact tasks.sourceJar
6464
artifact tasks.javadocJar
65+
66+
67+
pom.withXml {
68+
asNode().with {
69+
appendNode('licenses').with {
70+
appendNode('license').with {
71+
appendNode('name', 'Apache-2.0')
72+
appendNode('url', 'https://opensource.org/licenses/Apache-2.0')
73+
}
74+
}
75+
}
76+
}
6577
}
6678
}
6779
}

0 commit comments

Comments
 (0)