Skip to content

Commit dd3d500

Browse files
committed
Version 1.5.0
1 parent c801a97 commit dd3d500

File tree

5 files changed

+9
-142
lines changed

5 files changed

+9
-142
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/checkout@v4
3232

3333
- name: Set up JDK ${{ matrix.java-version }}
34-
uses: actions/setup-java@v3
34+
uses: actions/setup-java@v4
3535
with:
3636
distribution: "zulu"
3737
java-version: ${{ matrix.java-version }}

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ optimizations have a significantly beneficial impact on performance of encoding
3232
compared to other solutions like the standard `URLEncoder` in the JDK or
3333
`UriUtils` in Spring.
3434

35-
3635
## Examples (TL;DR)
3736

3837
```kotlin
@@ -61,7 +60,7 @@ repositories {
6160
}
6261

6362
dependencies {
64-
implementation("net.thauvin.erik.urlencoder:urlencoder-lib:1.4.0")
63+
implementation("net.thauvin.erik.urlencoder:urlencoder-lib:1.5.0")
6564
}
6665
```
6766

@@ -72,11 +71,11 @@ to the artifact URL.
7271
<dependency>
7372
<groupId>net.thauvin.erik.urlencoder</groupId>
7473
<artifactId>urlencoder-lib-jvm</artifactId>
75-
<version>1.4.0</version>
74+
<version>1.5.0</version>
7675
</dependency>
7776
```
7877

79-
Instructions for using with Ivy, etc. can be found on
78+
Instructions for using with Ivy, etc. can be found on
8079
[Maven Central](https://central.sonatype.com/search?namespace=net.thauvin.erik.urlencoder).
8180

8281
## Standalone usage
@@ -90,15 +89,15 @@ You have two options:
9089

9190
The usage is as follows:
9291

93-
```
92+
```console
9493
Encode and decode URL components defensively.
9594
-e encode (default)
9695
-d decode
9796
```
9897

9998
### Running with Gradle
10099

101-
```shell
100+
```console
102101
./gradlew run --quiet --args="-e 'a test &'" # -> a%20test%20%26
103102
./gradlew run --quiet --args="%#okékÉȢ" # -> %25%23ok%C3%A9k%C3%89%C8%A2
104103

@@ -109,13 +108,13 @@ Encode and decode URL components defensively.
109108

110109
First build the jar file:
111110

112-
```shell
111+
```console
113112
./gradlew fatJar
114113
```
115114

116115
Then run it:
117116

118-
```shell
117+
```console
119118
java -jar urlencoder-app/build/libs/urlencoder-*all.jar -e "a test &" # -> a%20test%20%26
120119
java -jar urlencoder-app/build/libs/urlencoder-*all.jar "%#okékÉȢ" # -> %25%23ok%C3%A9k%C3%89%C8%A2
121120

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "net.thauvin.erik.urlencoder"
7-
version = "1.5.0-SNAPSHOT"
7+
version = "1.5.0"
88

99
dependencies {
1010
kover(projects.urlencoderLib)

urlencoder-app/pom.xml

Lines changed: 0 additions & 69 deletions
This file was deleted.

urlencoder-lib/pom.xml

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)