Skip to content

Commit f432c94

Browse files
authored
feat(core): Update Java, Grandle, and dependencies (#186)
1 parent e3cd2f2 commit f432c94

File tree

19 files changed

+1433
-1155
lines changed

19 files changed

+1433
-1155
lines changed

.circleci/config.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ commands:
1717
major:
1818
description: The JDK major version to use
1919
type: string
20-
default: "18"
20+
default: "19"
2121
version:
2222
description: The JDK full version to use
2323
type: string
24-
default: "18.0.2.1"
24+
default: "19.0.1"
2525

2626
steps:
2727
- run:
@@ -64,7 +64,7 @@ commands:
6464
- run:
6565
name: Install NodeJS
6666
command: |
67-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
67+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
6868
echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
6969
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --install' >> $BASH_ENV
7070
source $BASH_ENV
@@ -83,11 +83,11 @@ commands:
8383

8484
- save_cache:
8585
paths:
86-
- ~/repos/atomic-flyway/.yarn/cache
86+
- ~/repos/maybe/.yarn/cache
8787
key: yarn-v1-{{ checksum "yarn.lock" }}
8888

8989
setup:
90-
description: "Setup the environment to run tasks on CI"
90+
description: Setup the environment to run tasks on CI
9191

9292
steps:
9393
- checkout:
@@ -102,9 +102,7 @@ commands:
102102
103103
- restore_cache:
104104
keys:
105-
- v4-dependencies-{{ checksum "buildscript-gradle.lockfile" }}-{{ checksum "gradle.lockfile" }}
106-
- v4-dependencies-{{ checksum "buildscript-gradle.lockfile" }}-
107-
- v4-dependencies-
105+
- v5-dependencies-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}-{{ checksum "buildscript-gradle.lockfile" }}-{{ checksum "gradle.lockfile" }}
108106

109107
- run:
110108
name: Dependencies
@@ -114,7 +112,7 @@ commands:
114112
paths:
115113
- ~/repo/maybe/.gradle
116114
- ~/.gradle
117-
key: v4-dependencies-{{ checksum "buildscript-gradle.lockfile" }}-{{ checksum "gradle.lockfile" }}
115+
key: v5-dependencies-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}-{{ checksum "buildscript-gradle.lockfile" }}-{{ checksum "gradle.lockfile" }}
118116

119117
jobs:
120118
build:

.github/workflows/pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
needs: build
4343

4444
steps:
45-
- uses: actions/deploy-pages@v1
45+
- name: Deploy Pages
46+
uses: actions/deploy-pages@v1
4647

4748
...

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.9.0
1+
19.4.0

.releaserc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://json.schemastore.org/semantic-release",
3+
"branches": ["release"],
4+
"plugins": [
5+
"@semantic-release/commit-analyzer",
6+
"@semantic-release/release-notes-generator",
7+
"gradle-semantic-release-plugin",
8+
"@semantic-release/github"
9+
]
10+
}

.yarn/releases/yarn-3.2.3.cjs

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

.yarn/releases/yarn-3.3.1.cjs

Lines changed: 823 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ plugins:
44
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
55
spec: "@yarnpkg/plugin-interactive-tools"
66

7-
yarnPath: .yarn/releases/yarn-3.2.3.cjs
7+
yarnPath: .yarn/releases/yarn-3.3.1.cjs

build.gradle

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ plugins {
1111
id 'maven-publish'
1212
id 'signing'
1313

14-
id 'io.github.joselion.pretty-jupiter' version '2.0.1'
15-
id 'io.github.joselion.strict-null-check' version '2.0.0'
14+
id 'io.github.joselion.pretty-jupiter' version '2.2.0'
15+
id 'io.github.joselion.strict-null-check' version '2.1.0'
1616
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
17-
id 'se.solrike.sonarlint' version '1.0.0-beta.5'
17+
id 'se.solrike.sonarlint' version '1.0.0-beta.8'
1818
}
1919

2020
group = 'io.github.joselion'
2121

2222
java {
2323
toolchain {
24-
languageVersion = JavaLanguageVersion.of(18)
24+
languageVersion = JavaLanguageVersion.of(19)
2525
vendor = JvmVendorSpec.ORACLE
2626
}
2727

@@ -61,15 +61,17 @@ strictNullCheck {
6161

6262
sonarlint {
6363
excludeRules = [
64-
'java:S4032' // Allow packages only containing `package-info.java`
64+
'java:S107', // Allow constructors with more than 7 parameters
65+
'java:S3776', // Allow methods with more than 15 lines
66+
'java:S4032', // Allow packages only containing `package-info.java`
6567
]
6668
includeRules = [
67-
'java:S4266' // "Stream.collect()" calls should not be redundant
69+
'java:S4266', // "Stream.collect()" calls should not be redundant
6870
]
6971
}
7072

7173
checkstyle {
72-
toolVersion = '10.3.3'
74+
toolVersion = '10.6.0'
7375
sourceSets = sourceSets
7476
}
7577

@@ -86,16 +88,16 @@ repositories {
8688
}
8789

8890
dependencies {
89-
sonarlintPlugins('org.sonarsource.java:sonar-java-plugin:7.13.0.29990')
91+
sonarlintPlugins('org.sonarsource.java:sonar-java-plugin:7.16.0.30901')
9092

91-
testImplementation('org.assertj:assertj-core:3.23.1')
92-
testImplementation('org.mockito:mockito-inline:4.8.0')
93+
testImplementation('org.assertj:assertj-core:3.24.1')
94+
testImplementation('org.mockito:mockito-inline:4.11.0')
9395
}
9496

9597
testing {
9698
suites {
9799
test {
98-
useJUnitJupiter('5.9.0')
100+
useJUnitJupiter('5.9.2')
99101
}
100102
}
101103
}

buildscript-gradle.lockfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# This file is expected to be part of source control.
44
io.github.gradle-nexus.publish-plugin:io.github.gradle-nexus.publish-plugin.gradle.plugin:1.1.0=classpath
55
io.github.gradle-nexus:publish-plugin:1.1.0=classpath
6-
io.github.joselion.pretty-jupiter:io.github.joselion.pretty-jupiter.gradle.plugin:2.0.1=classpath
7-
io.github.joselion.strict-null-check:io.github.joselion.strict-null-check.gradle.plugin:2.0.0=classpath
8-
io.github.joselion:pretty-jupiter:2.0.1=classpath
9-
io.github.joselion:strict-null-check:2.0.0=classpath
6+
io.github.joselion.pretty-jupiter:io.github.joselion.pretty-jupiter.gradle.plugin:2.2.0=classpath
7+
io.github.joselion.strict-null-check:io.github.joselion.strict-null-check.gradle.plugin:2.1.0=classpath
8+
io.github.joselion:pretty-jupiter:2.2.0=classpath
9+
io.github.joselion:strict-null-check:2.1.0=classpath
1010
org.apache.commons:commons-lang3:3.11=classpath
1111
org.apache.commons:commons-text:1.9=classpath
1212
org.sonarsource.sonarlint.core:sonarlint-core:8.0.2.42487=classpath
13-
se.solrike.sonarlint:se.solrike.sonarlint.gradle.plugin:1.0.0-beta.5=classpath
14-
se.solrike.sonarlint:sonarlint-gradle-plugin:1.0.0-beta.5=classpath
13+
se.solrike.sonarlint:se.solrike.sonarlint.gradle.plugin:1.0.0-beta.8=classpath
14+
se.solrike.sonarlint:sonarlint-gradle-plugin:1.0.0-beta.8=classpath
1515
empty=

gradle.lockfile

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,43 @@ com.google.guava:failureaccess:1.0.1=checkstyle
77
com.google.guava:guava:31.1-jre=checkstyle
88
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=checkstyle
99
com.google.j2objc:j2objc-annotations:1.3=checkstyle
10-
com.puppycrawl.tools:checkstyle:10.3.3=checkstyle
10+
com.puppycrawl.tools:checkstyle:10.6.0=checkstyle
1111
commons-beanutils:commons-beanutils:1.9.4=checkstyle
1212
commons-codec:commons-codec:1.15=checkstyle
1313
commons-collections:commons-collections:3.2.2=checkstyle
14-
info.picocli:picocli:4.6.3=checkstyle
15-
net.bytebuddy:byte-buddy-agent:1.12.14=testCompileClasspath,testRuntimeClasspath
16-
net.bytebuddy:byte-buddy:1.12.14=testCompileClasspath,testRuntimeClasspath
14+
info.picocli:picocli:4.7.0=checkstyle
15+
net.bytebuddy:byte-buddy-agent:1.12.19=testCompileClasspath,testRuntimeClasspath
16+
net.bytebuddy:byte-buddy:1.12.21=testCompileClasspath,testRuntimeClasspath
1717
net.sf.saxon:Saxon-HE:11.4=checkstyle
18-
org.antlr:antlr4-runtime:4.10.1=checkstyle
18+
org.antlr:antlr4-runtime:4.11.1=checkstyle
1919
org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle
2020
org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle
2121
org.apache.httpcomponents.core5:httpcore5:5.1.3=checkstyle
2222
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
23-
org.assertj:assertj-core:3.23.1=testCompileClasspath,testRuntimeClasspath
24-
org.checkerframework:checker-qual:3.12.0=checkstyle
23+
org.assertj:assertj-core:3.24.1=testCompileClasspath,testRuntimeClasspath
24+
org.checkerframework:checker-qual:3.27.0=checkstyle
2525
org.eclipse.jdt:org.eclipse.jdt.annotation:2.2.600=compileClasspath
2626
org.jacoco:org.jacoco.agent:0.8.8=jacocoAgent,jacocoAnt
2727
org.jacoco:org.jacoco.ant:0.8.8=jacocoAnt
2828
org.jacoco:org.jacoco.core:0.8.8=jacocoAnt
2929
org.jacoco:org.jacoco.report:0.8.8=jacocoAnt
3030
org.javassist:javassist:3.28.0-GA=checkstyle
31-
org.junit.jupiter:junit-jupiter-api:5.9.0=testCompileClasspath,testRuntimeClasspath
32-
org.junit.jupiter:junit-jupiter-engine:5.9.0=testRuntimeClasspath
33-
org.junit.jupiter:junit-jupiter-params:5.9.0=testCompileClasspath,testRuntimeClasspath
34-
org.junit.jupiter:junit-jupiter:5.9.0=testCompileClasspath,testRuntimeClasspath
35-
org.junit.platform:junit-platform-commons:1.9.0=testCompileClasspath,testRuntimeClasspath
36-
org.junit.platform:junit-platform-engine:1.9.0=testRuntimeClasspath
37-
org.junit:junit-bom:5.9.0=testCompileClasspath,testRuntimeClasspath
38-
org.mockito:mockito-core:4.8.0=testCompileClasspath,testRuntimeClasspath
39-
org.mockito:mockito-inline:4.8.0=testCompileClasspath,testRuntimeClasspath
40-
org.objenesis:objenesis:3.2=testRuntimeClasspath
31+
org.junit.jupiter:junit-jupiter-api:5.9.2=testCompileClasspath,testRuntimeClasspath
32+
org.junit.jupiter:junit-jupiter-engine:5.9.2=testRuntimeClasspath
33+
org.junit.jupiter:junit-jupiter-params:5.9.2=testCompileClasspath,testRuntimeClasspath
34+
org.junit.jupiter:junit-jupiter:5.9.2=testCompileClasspath,testRuntimeClasspath
35+
org.junit.platform:junit-platform-commons:1.9.2=testCompileClasspath,testRuntimeClasspath
36+
org.junit.platform:junit-platform-engine:1.9.2=testRuntimeClasspath
37+
org.junit:junit-bom:5.9.2=testCompileClasspath,testRuntimeClasspath
38+
org.mockito:mockito-core:4.11.0=testCompileClasspath,testRuntimeClasspath
39+
org.mockito:mockito-inline:4.11.0=testCompileClasspath,testRuntimeClasspath
40+
org.objenesis:objenesis:3.3=testRuntimeClasspath
4141
org.opentest4j:opentest4j:1.2.0=testCompileClasspath,testRuntimeClasspath
4242
org.ow2.asm:asm-analysis:9.2=jacocoAnt
4343
org.ow2.asm:asm-commons:9.2=jacocoAnt
4444
org.ow2.asm:asm-tree:9.2=jacocoAnt
4545
org.ow2.asm:asm:9.2=jacocoAnt
4646
org.reflections:reflections:0.10.2=checkstyle
47-
org.sonarsource.java:sonar-java-plugin:7.13.0.29990=sonarlintPlugins
47+
org.sonarsource.java:sonar-java-plugin:7.16.0.30901=sonarlintPlugins
4848
org.xmlresolver:xmlresolver:4.4.3=checkstyle
4949
empty=annotationProcessor,runtimeClasspath,signatures,sonarlint,testAnnotationProcessor

0 commit comments

Comments
 (0)