Skip to content

Commit a3f4494

Browse files
Scottmitchviktorklang
authored andcommitted
Enable ./gradlew publishToMavenLocal (#461)
Motivation: Add a publishing task in the top level gradle file that allows for publishing to the local maven repository. Modifications: - When `./gradlew publishToMavenLocal` is invoked we should publish to the local maven repo for: reactive-streams, reactive-stream-tck, reactive-streams-tck-flow, and reactive-streams-examples Result: `./gradlew publishToMavenLocal` publishes artifacts to the local maven repository. Fixes #456
1 parent 77a7e57 commit a3f4494

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
@@ -52,6 +52,7 @@ subprojects {
5252
"reactive-streams-examples"]) {
5353
apply plugin: "maven"
5454
apply plugin: "signing"
55+
apply plugin: "maven-publish"
5556

5657
signing {
5758
sign configurations.archives
@@ -67,6 +68,17 @@ subprojects {
6768
from javadoc
6869
}
6970

71+
publishing {
72+
publications {
73+
mavenJava(MavenPublication) {
74+
from components.java
75+
}
76+
}
77+
repositories {
78+
mavenLocal()
79+
}
80+
}
81+
7082
artifacts {
7183
archives sourcesJar, javadocJar
7284
}

0 commit comments

Comments
 (0)