Skip to content

Commit 72bbcbd

Browse files
authored
Upgrade jreleaser to 1.21.0 (#7)
1 parent 01d5e65 commit 72bbcbd

File tree

4 files changed

+510
-5
lines changed

4 files changed

+510
-5
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,14 @@ Here's how you can build your fat JAR:
4242

4343
The far JAR is built at `./build/libs/embeddablee-java-web-framework-VERSION.jar`
4444

45-
You can run your server with: `java -jar ./build/libs/embeddablee-java-web-framework-VERSION.jar`
45+
You can run your server with: `java -jar ./build/libs/embeddable-java-web-framework-VERSION.jar`
4646

4747
To publish to a Maven repository, please follow the below steps:
4848

4949
1. Remove `./build/staging-deploy` by running `rm -rf ./build/staging-deploy`
5050
2. Run `./gradlew publish`
51-
3. Run `./gradlew jreleaserDeploy`
51+
3. Set up `~/.jreleaser/config.toml` with `JRELEASER_MAVENCENTRAL_USERNAME` and `JRELEASER_MAVENCENTRAL_PASSWORD`
52+
4. Run `./gradlew jreleaserDeploy`
5253

5354
Embed your website into a larger system
5455
----------------------------------------

build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
import org.jreleaser.model.Active
2+
import org.jreleaser.model.Signing.Mode
23

34
plugins {
45
`java-library`
56
application
67
`maven-publish`
7-
id("org.jreleaser") version "1.20.0"
8+
id("org.jreleaser") version "1.21.0"
89
id("com.gradleup.shadow") version "9.2.2"
910
}
1011

1112
group = "tanin.ejwf"
12-
version = "0.3.0"
13+
version = "0.4.0"
1314

1415
description = "Embeddable Java Web Framework (EJWF)"
1516

@@ -92,6 +93,7 @@ publishing {
9293

9394
jreleaser {
9495
signing {
96+
mode = Mode.COMMAND
9597
active = Active.ALWAYS
9698
armored = true
9799
}

0 commit comments

Comments
 (0)