Skip to content

Commit

Permalink
chore!: [#187] Bump minimum java platform from java 11 to java 17 (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
ursjoss authored Oct 7, 2023
1 parent 94d7176 commit 2916237
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 10 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
language: [ 'java-kotlin' ]

steps:
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4

- uses: actions/setup-java@v1
with:
java-version: 17

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/detekt-hint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
jdk: [11]
jdk: [17]
runs-on: ${{ matrix.os }}
if: ${{ !contains(github.event.head_commit.message, 'detekt hint skip') }}
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
java-version: '17'

- name: Cache SonarCloud packages
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
java-version: '17'

- name: Cache global .gradle folder
uses: actions/cache@v3
Expand Down
36 changes: 35 additions & 1 deletion CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The format is based on https://keepachangelog.com/en/1.0.0/[Keep a Changelog].
[[unreleased]]
== [unreleased]

{url-cl}0.4.6++...++main[Full Changelog]
{url-cl}0.5.0++...++main[Full Changelog]

.Added

Expand All @@ -62,6 +62,40 @@ The format is based on https://keepachangelog.com/en/1.0.0/[Keep a Changelog].
////

[[v0.5.0]]
== [0.5.0] -- 2023-10-07

{url-cl}0.4.9++...++0.5.0[Full Changelog]

.Changed
- Bumped dependency
gradle-wrapper,
kotest, mockk,
versions gradle plugin,
checkout github action
- Fail on gradle deprecation warnings

.Removed
- Java 11 compatibility (now requiring java platform 17 as minimum)


[[v0.4.9]]
== [0.4.9] -- 2023-09-05

{url-cl}0.4.6++...++0.4.9[Full Changelog]

.Changed
- Bumped dependencies
kotlin, coroutines, kotlinx-coroutines-rx2
junit5, kotest, mockk, kluent,
dokka, detekt, reckon,
versions gradle plugin, git-publish plugin, binary compatibility-validator, sonarqube gradle plugin,

.Added
- detekt hints

.Fixed
- Path to guide build directory

[[v0.4.6]]
== [0.4.6] -- 2023-04-03
Expand Down
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ and import citations in this format.
More documentation can be found in the https://ursjoss.github.io/KRis/[Guide]
and https://ursjoss.github.io/KRis/kapi/index.html[KDoc].

Requires JRE 11 or later.
Requires JRE 17 or later.

== Setup

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/src/docs/asciidoc/introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ KRis is a kotlin implementation that aims to be used as a library for Kotlin and
It is available on https://github.com/ursjoss/KRis[GitHub] and can be used via gradle or maven dependency management.
KRis started as a fork of https://github.com/fastluca/JRis[JRis], which was developed by Gianluca Colaianni (fastluca).

KRis requires Java Platform 11 or later.
KRis requires Java Platform 17 or later.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ detekt = "1.23.1"
dokka = "1.9.0"
gitPublish = "4.2.0"
jacoco = "0.8.8"
java = "11"
java = "17"
junitJupiter = "5.10.0"
kluent = "1.73"
kotest = "5.7.2"
Expand Down

0 comments on commit 2916237

Please sign in to comment.