Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 6123607

Browse files
LaunchDarklyReleaseBoteli-darklybwoskow-ldgwhelanLDrobertjneal
authored
prepare 2.0.1 release (#12)
## [2.0.1] - 2023-05-17 ### Changed: - Updating Gradle to 7.6 ### Fixed: - Fixed NPE when creating a multi-context that included one invalid context. --------- Co-authored-by: Eli Bishop <[email protected]> Co-authored-by: Ben Woskow <[email protected]> Co-authored-by: Gavin Whelan <[email protected]> Co-authored-by: Robert J. Neal <[email protected]> Co-authored-by: Robert J. Neal <[email protected]> Co-authored-by: Sam Stokes <[email protected]> Co-authored-by: LaunchDarklyCI <[email protected]> Co-authored-by: Ember Stevens <[email protected]> Co-authored-by: ember-stevens <[email protected]> Co-authored-by: LaunchDarklyReleaseBot <[email protected]> Co-authored-by: Alex Engelberg <[email protected]> Co-authored-by: Todd Anderson <[email protected]> Co-authored-by: tanderson-ld <[email protected]>
1 parent 1a68d62 commit 6123607

File tree

11 files changed

+202
-119
lines changed

11 files changed

+202
-119
lines changed

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ workflows:
1919
requires:
2020
- build-linux
2121
- test-linux:
22+
# current LTS version
2223
name: Java 17 - Linux - OpenJDK
2324
docker-image: cimg/openjdk:17.0
2425
with-coverage: true
2526
requires:
2627
- build-linux
28+
- test-linux:
29+
name: Java 19 - Linux - OpenJDK
30+
docker-image: cimg/openjdk:19.0
31+
requires:
32+
- build-linux
2733
# Windows Java 11 build is temporarily disabled - see story 171428
2834
# - test-windows:
2935
# name: Java 11 - Windows - OpenJDK

.ldrelease/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ publications:
1212

1313
jobs:
1414
- docker:
15-
image: gradle:6.8.3-jdk11
15+
image: gradle:7.6-jdk11
1616
template:
1717
name: gradle
1818

.ldrelease/publish.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@ set -ue
44

55
# Publish to Sonatype
66
echo "Publishing to Sonatype"
7-
./gradlew publishToSonatype closeAndReleaseRepository || { echo "Gradle publish/release failed" >&2; exit 1; }
7+
if [[ -n "${LD_RELEASE_IS_PRERELEASE}" ]]; then
8+
./gradlew publishToSonatype || { echo "Gradle publish/release failed" >&2; exit 1; }
9+
else
10+
./gradlew publishToSonatype closeAndReleaseRepository || { echo "Gradle publish/release failed" >&2; exit 1; }
11+
fi
12+

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ dependencies { // see Dependencies.kt in buildSrc
5050
}
5151

5252
checkstyle {
53+
toolVersion = "9.3"
5354
configFile = file("${project.rootDir}/checkstyle.xml")
5455
}
5556

buildSrc/src/main/kotlin/helpers/Jacoco.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ object Jacoco {
1212
verificationTask: TaskProvider<JacocoCoverageVerification>) {
1313
reportTask.configure {
1414
reports {
15-
xml.isEnabled = true
16-
csv.isEnabled = true
17-
html.isEnabled = true
15+
xml.required.set(false)
16+
csv.required.set(false)
17+
html.required.set(true)
1818
}
1919
}
2020

checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<module name="JavadocPackage"/>
77
<module name="TreeWalker">
88
<module name="JavadocMethod">
9-
<property name="scope" value="public"/>
9+
<property name="accessModifiers" value="public"/>
1010
</module>
1111
<module name="JavadocType">
1212
<property name="scope" value="public"/>

gradle/wrapper/gradle-wrapper.jar

333 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)