Skip to content

Commit

Permalink
Bump JDK compatibility to v18 (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpasipanodya authored Jun 2, 2023
1 parent 27f27be commit e0b2a59
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 18
java-version: 19
- name: Build & Deploy
uses: gradle/gradle-build-action@v2
env:
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
IS_RELEASE_BUILD: false
with:
gradle-version: 7.6
gradle-version: 8.1.1
arguments: clean test build artifactoryPublish
- name: Upload Test Results
uses: dorny/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: 18
java-version: 19
- name: Build & Deploy
uses: gradle/gradle-build-action@v2
env:
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
IS_RELEASE_BUILD: true
with:
gradle-version: 7.6
gradle-version: 8.1.1
arguments: clean test build artifactoryPublish
- name: Upload Test Results
uses: dorny/[email protected]
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.9.0
## 0.10.1

- Bumped JVM compatibility to JDK 18

## 0.10.0

- `jvm` version `1.8.21`
- `jackson-datatype-jsr310` & `jackson-module-kotlin` version `2.15.1`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A collection of declarative, configurable and composable matchers for [Spek2](ht

## How to use
```kotlin
implementation("io.taff:spek-expekt:0.10.0")
implementation("io.taff:spek-expekt:0.10.1")
```

### Using the Specification DSL
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ plugins {
}

group = "io.taff"
version = "0.10.0${ if (isReleaseBuild()) "" else "-SNAPSHOT" }"
java.sourceCompatibility = JavaVersion.VERSION_18
version = "0.10.1${ if (isReleaseBuild()) "" else "-SNAPSHOT" }"
java.sourceCompatibility = JavaVersion.VERSION_19

repositories {
mavenCentral()
Expand Down Expand Up @@ -51,7 +51,7 @@ dependencies {
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "18"
jvmTarget = "19"
}
}

Expand Down

0 comments on commit e0b2a59

Please sign in to comment.