Skip to content

Commit 01f5db2

Browse files
committed
Make compatible with Java 17
1 parent b00c6f9 commit 01f5db2

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ To add a dependency on `index4j` using Maven, use the following:
3333
<dependency>
3434
<groupId>com.dynatrace.index4j</groupId>
3535
<artifactId>indices</artifactId>
36-
<version>0.2.0</version>
36+
<version>0.3.0</version>
3737
</dependency>
3838
```
3939

4040
To add the dependency using Gradle:
4141

4242
```
43-
implementation group: 'com.dynatrace.index4j', name: 'indices', version: '0.2.0'
43+
implementation group: 'com.dynatrace.index4j', name: 'indices', version: '0.3.0'
4444
```
4545

46+
The current minimum Java version should be 17.
47+
4648
## Supported data structures
4749

4850
- [Fm-Index](indices/src/main/java/com/dynatrace/fm/FmIndex.java): supports `count`, `locate`, `extract` and `extractUntilBoundary` (along with its left and right variations) with arbitrary patterns while compressing your data. In the case of logs, roughly 20% of the input size is required to store both data and index.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=0.1.0
1+
version=0.3.0
22
org.gradle.jvmargs='-Djdk.attach.allowAttachSelf'

indices/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ test {
105105

106106
java {
107107
toolchain {
108-
languageVersion.set(JavaLanguageVersion.of(21))
108+
languageVersion.set(JavaLanguageVersion.of(17))
109109
}
110110
withSourcesJar()
111111
withJavadocJar()
@@ -121,7 +121,7 @@ javadoc {
121121
}
122122

123123
group = 'com.dynatrace.index4j'
124-
version = '0.2.0'
124+
version = '0.3.0'
125125

126126
gradlePlugin { automatedPublishing = false }
127127

0 commit comments

Comments
 (0)