File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11allprojects {
22 apply plugin : ' java-library'
3- apply plugin : ' maven'
3+ apply plugin : ' maven-publish '
44
55 compileJava. options. encoding = ' UTF-8'
66 compileTestJava. options. encoding = ' UTF-8'
@@ -16,6 +16,16 @@ allprojects {
1616 maven { url " https://jitpack.io" }
1717 }
1818
19+ afterEvaluate {
20+ publishing {
21+ publications {
22+ mavenJava(MavenPublication ) {
23+ from components. java
24+ }
25+ }
26+ }
27+ }
28+
1929 ext {
2030 nanojsonVersion = " 1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751"
2131 spotbugsVersion = " 4.2.3"
@@ -59,7 +69,7 @@ task aggregatedJavadocs(type: Javadoc, group: 'Documentation') {
5969 " apiNote:a:API Note:" ,
6070 " implSpec:a:Implementation Requirements:" ,
6171 " implNote:a:Implementation Note:"
62- ]
72+ ]
6373
6474 subprojects. each { project ->
6575 project. tasks. withType(Javadoc ). each { javadocTask ->
You can’t perform that action at this time.
0 commit comments