Skip to content

Commit e884e11

Browse files
committed
Increase minimum Java version to 11
1 parent e6ab82c commit e884e11

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
# test against major Java versions:
11-
java: [ 8, 11, 17 ]
11+
java: [ 11, 17, 22 ]
1212
os: [ macos-latest, ubuntu-latest, windows-latest ]
1313
name: Java ${{ matrix.java }} @ ${{ matrix.os }}
1414
steps:
@@ -33,4 +33,4 @@ jobs:
3333
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
3434
run: |
3535
rm -f ~/.gradle/caches/modules-2/modules-2.lock
36-
rm -f ~/.gradle/caches/modules-2/gc.properties
36+
rm -f ~/.gradle/caches/modules-2/gc.properties

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
Reference implementation of an agent library written in Java. This library handles all the communication with [Chronos Control](https://github.com/Chronos-EaaS/Chronos-Control) including the upload of the results. It provides an interface with all necessary methods required for adding Chronos support to an existing evaluation client.
44

5+
This library is compatible with Java version 11 and higher.
6+
57
## Getting Started
68

79
* Chronos Agent is published to Maven Central. Make sure that you have `mavenCentral()` to the `repositories` in your gradle build file.
8-
* Add `implementation group: 'org.chronos-eaas', name: 'chronos-agent', version: '2.4.2'` to your `dependencies`.
10+
* Add `implementation group: 'org.chronos-eaas', name: 'chronos-agent', version: '2.5.0'` to your `dependencies`.
911
* Extend the `AbstractChronosAgent` class, call `YourClass.start()` in your `main` method, and you are good to go!
1012
> Assuming that you already have a running [Chronos Control](https://github.com/Chronos-EaaS/Chronos-Control/) instance
1113

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ description = "Chronos Agent"
2121

2222

2323
java {
24-
sourceCompatibility = JavaVersion.VERSION_1_8
25-
targetCompatibility = JavaVersion.VERSION_1_8
24+
sourceCompatibility = JavaVersion.VERSION_11
25+
targetCompatibility = JavaVersion.VERSION_11
2626
withJavadocJar()
2727
withSourcesJar()
2828
}

0 commit comments

Comments
 (0)