Skip to content

Commit cebeb7a

Browse files
committed
Minor build tweaks
Version changes to 1.1 Readme changes for 1.1 Prep for Maven Central release
1 parent f56c7ff commit cebeb7a

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ statements and with pattern matching.
7474

7575

7676
## Updates
77-
### Branch 1.1 (August 2024, not yet released)
78-
JSR-305 nullness annotations have been replaced with JSpecify 1.0, reducing annotation clutter.
79-
Note that this could potentially pose problems given
80-
[issues prior to JDK 22](https://jspecify.dev/docs/whether/#annotation-processors).
81-
Runtime nullness checks (via Objects.requireNonNull) have not been removed.
8277

83-
The 1.1 branch also adds `Result::merge` which simplifies reduction operations on `Result` streams
78+
### Release 1.1 (May 2025)
79+
Target remains JDK 21.
80+
81+
[JSpecify](https://jspecify.dev/) replaces JSR-305 nullness annotations.
82+
83+
This release also adds `Result::merge` which simplifies reduction operations on `Result` streams
8484
(see method documentation and tests for examples).
8585

8686

@@ -107,14 +107,14 @@ depend via Maven:
107107
<dependency>
108108
<groupId>net.xyzsd</groupId>
109109
<artifactId>dichotomy</artifactId>
110-
<version>1.0</version>
110+
<version>1.1</version>
111111
<type>module</type>
112112
</dependency>
113113
```
114114

115115
or Gradle:
116116
```kotlin
117-
implementation("net.xyzsd:dichotomy:1.0")
117+
implementation("net.xyzsd:dichotomy:1.1")
118118
```
119119

120120
or [download](https://github.com/xyzsd/dichotomy/releases/tag/1.0) from GitHub.

build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ plugins {
2828

2929

3030
group = "net.xyzsd"
31-
version = "1.1-SNAPSHOT"
31+
version = "1.1"
3232
// versions ending with "-SNAPSHOT" will end up at:
3333
// https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/net/xyzsd/dichotomy/
3434
//
@@ -76,8 +76,8 @@ tasks.javadoc {
7676

7777
// for reproducible builds
7878
tasks.jar {
79-
setPreserveFileTimestamps(false);
80-
setReproducibleFileOrder(true);
79+
setPreserveFileTimestamps(false)
80+
setReproducibleFileOrder(true)
8181
}
8282

8383
// secrets: see
@@ -99,7 +99,7 @@ mavenPublishing {
9999
signAllPublications()
100100

101101
pom {
102-
coordinates("net.xyzsd.dichotomy", "dichotomy", version as String)
102+
coordinates("net.xyzsd", "dichotomy", version as String)
103103

104104
name.set("dichotomy")
105105
description.set("Result, Try, Maybe, and Either monads for Java")
@@ -136,7 +136,7 @@ mavenPublishing {
136136
}
137137

138138
signing {
139-
val githubCI: Boolean = "true".equals(System.getenv("CI")) || false;
139+
val githubCI: Boolean = "true".equals(System.getenv("CI")) || false
140140
if (githubCI) {
141141
project.logger.lifecycle("Signing: Using Github environment.")
142142
val signingKey: String? = System.getenv("SIGNING_KEY_PRIVATE")

0 commit comments

Comments
 (0)