Skip to content

Commit 53c2e09

Browse files
committed
chore: correct build gradle + readme + test 0.0.1 publish
1 parent e9b3140 commit 53c2e09

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
1919
JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
2020
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
21+
JRELEASER_MAVENCENTRAL_STAGE: UPLOAD
2122

2223
steps:
2324
- name: Checkout repository

build.gradle.kts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import java.time.LocalDate
2+
13
plugins {
24
java
35
`maven-publish`
@@ -6,7 +8,7 @@ plugins {
68
}
79

810
group = "com.factset.sdk.eventdriven"
9-
version = "2.0.0-SNAPSHOT"
11+
version = "0.0.1"
1012

1113
java {
1214
withJavadocJar()
@@ -82,8 +84,8 @@ configure<PublishingExtension> {
8284
url.set("https://github.com/factset/enterprise-sdk-eventdriven-factsettrading-java/")
8385
licenses {
8486
license {
85-
name.set("APACHE-2.0")
86-
url.set("https://github.com/factset/enterprise-sdk-eventdriven-factsettrading-java/blob/main/LICENSE")
87+
name.set("The Apache License, Version 2.0'")
88+
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
8789
}
8890
}
8991
developers {
@@ -118,7 +120,7 @@ configure<org.jreleaser.gradle.plugin.JReleaserExtension> {
118120
license = "APACHE-2.0"
119121
inceptionYear = "2023"
120122
vendor = "FactSet"
121-
copyright = "Copyright (c) 2023 FactSet"
123+
copyright = "Copyright (c) ${LocalDate.now().year} FactSet"
122124
}
123125

124126
signing {

0 commit comments

Comments
 (0)