Skip to content

Commit

Permalink
fix: Upgrade to wasmtime-java 0.19.0 (DVC 9128) (#97)
Browse files Browse the repository at this point in the history
* upgrade to wasmtime 0.19.0

* update version compatibility

* delete legacy pom.xml

* drop example-cloud and example-local
  • Loading branch information
rob-odwyer authored Oct 11, 2023
1 parent 6e5e888 commit 5ab9754
Show file tree
Hide file tree
Showing 44 changed files with 11 additions and 1,967 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Welcome to the DevCycle Java SDK, which interfaces with the [DevCycle Bucketing

## Requirements

This version of the DevCycle SDK works with Java 8 and above.
This version of the DevCycle SDK works with Java 11 and above.

Using the Java SDK library requires [Maven](https://maven.apache.org/) or [Gradle](https://gradle.org/) >= 7.6+ to be installed.

Expand Down
2 changes: 1 addition & 1 deletion benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This tool is used to benchmark the DevCycle Java Server SDK and is built using t

## Requirements

This tool works with Java 8 and above but will require a x86_64 JDK.
This tool works with Java 11 and above but will require a x86_64 JDK.

Currently Supported Platforms are:

Expand Down
2 changes: 1 addition & 1 deletion benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jmh.version>1.36</jmh.version>
<javac.target>1.8</javac.target>
<javac.target>11</javac.target>
<java.server.sdk.version>2.0.0</java.server.sdk.version>
<uberjar.name>java-server-sdk-benchmarks</uberjar.name>
</properties>
Expand Down
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ repositories {
mavenCentral()
}

sourceCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11

def wasmResourcePath = "$projectDir/src/main/resources"
def wasmVersion = "1.7.0"
Expand Down Expand Up @@ -136,7 +137,7 @@ ext {
swagger_annotations_version = "2.2.0"
lombok_version = "1.18.24"
okhttp_version = "4.9.3"
wasmtime_version = "0.17.0"
wasmtime_version = "0.19.0"
junit_version = "4.13.2"
mockito_core_version = "4.6.1"
protobuf_version = "3.23.0"
Expand Down Expand Up @@ -194,4 +195,4 @@ task runCloudExample(type: JavaExec) {
description = "Run the cloud bucketing example"
classpath = sourceSets.examples.runtimeClasspath
main = 'com.devcycle.examples.CloudExample'
}
}
27 changes: 0 additions & 27 deletions example-cloud/README.md

This file was deleted.

36 changes: 0 additions & 36 deletions example-cloud/build.gradle

This file was deleted.

7 changes: 0 additions & 7 deletions example-cloud/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

248 changes: 0 additions & 248 deletions example-cloud/gradlew

This file was deleted.

Loading

0 comments on commit 5ab9754

Please sign in to comment.