File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ cd ./react
66
77./gradlew build
88./gradlew :brownfield:publishToMavenLocal
9+ ./gradlew signing
10+
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ publishing {
8383 }
8484
8585 repositories {
86+ mavenLocal()
8687 maven {
8788 name = " MavenCentral"
8889 url = uri(" https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" ) // Maven Central URL
@@ -101,11 +102,7 @@ val localProperties = Properties().apply {
101102}
102103
103104signing {
104- useInMemoryPgpKeys(
105- localProperties.getProperty(" signingKey" ), // GPG private key
106- localProperties.getProperty(" signingPassword" ) // Passphrase
107- )
108- sign(publishing.publications[" mavenCentral" ]) // Sign the Maven publication
105+ sign(publishing.publications[" mavenCentral" ])
109106}
110107
111108repositories {
@@ -126,3 +123,19 @@ tasks.named("detekt").configure {
126123tasks.register(" lint" ) {
127124 dependsOn(" :ktlintFormat" )
128125}
126+
127+ java {
128+ withJavadocJar()
129+ withSourcesJar()
130+ }
131+
132+ tasks.javadoc {
133+ if (JavaVersion .current().isJava9Compatible) {
134+ (options as StandardJavadocDocletOptions ).addBooleanOption(" html5" , true )
135+ }
136+ options {
137+ encoding = " UTF-8"
138+ source = " 8"
139+ }
140+ }
141+
You can’t perform that action at this time.
0 commit comments