Skip to content

Commit 1c1c43d

Browse files
Add Sources and Javadoc Jars for Maven Central
Co-authored-by: Markus Stoy <markus.stoy@lmax.com>
1 parent a61af07 commit 1c1c43d

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Gradle
2525
uses: gradle/actions/setup-gradle@v3
2626
- name: Publish package
27-
run: ./gradlew :nanofix-client:jreleaserFullRelease
27+
run: ./gradlew publish :nanofix-client:jreleaserFullRelease --stacktrace
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
JRELEASER_MAVENCENTRAL_USERNAME: ${{ secrets.JRELEASER_MAVENCENTRAL_USERNAME }}

build.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@ subprojects {
6262
'Bundle-Description': fullDescription,
6363
'Bundle-DocURL': siteUrl)
6464
}
65-
66-
task sourcesJar(type: Jar) {
67-
from sourceSets.main.allSource
68-
}
69-
70-
artifacts {
71-
archives sourcesJar
72-
}
7365
}
7466

7567
class Version

nanofix-client/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ dependencies {
2424
implementation 'org.slf4j:slf4j-api:1.7.16'
2525
}
2626

27+
java {
28+
withJavadocJar()
29+
withSourcesJar()
30+
}
31+
2732
jreleaser {
2833
files {
2934
active = 'ALWAYS'

nanofix-client/src/main/java/com/lmax/nanofix/outgoing/FixMessageBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
* FixMessageBuilder used for constructing messages to be sent.
6363
* Tags 8 BeginString, 9 MessageLength and 10 CheckSum are automatically appended in the correct order.
6464
* The message length and checksum can be overridden with the {@link #overrideMessageLength(String)}. and {@link #overrideChecksum(String)} methods.
65-
* All other fix tags & values are appended to the fix message in the order that they are specified.
65+
* All other fix tags and values are appended to the fix message in the order that they are specified.
6666
* Care must be taken to ensure the order of fields is valid for the version of the FIX protocol being used.
6767
*/
6868
public class FixMessageBuilder {

0 commit comments

Comments
 (0)