Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrrzysko committed Nov 12, 2023
1 parent 9213e69 commit 76dcc45
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ repositories {
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(18)
if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_18)) {
toolchain {
languageVersion = JavaLanguageVersion.of(18)
}
}
withJavadocJar()
withSourcesJar()
Expand Down
4 changes: 0 additions & 4 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
}

rootProject.name = 'simdjson-java'
8 changes: 8 additions & 0 deletions src/test/java/org/simdjson/BenchmarkCorrectnessTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@

public class BenchmarkCorrectnessTest {

@Test
public void testJavaVersion() {
System.out.println("JAVA_HOME: " + System.getenv("JAVA_HOME"));
System.out.println("JVM version: " + System.getProperty("java.version"));
System.out.println(Runtime.version());
System.out.println(System.getProperty("java.home"));
}

@Test
public void countUniqueTwitterUsersWithDefaultProfile() throws IOException {
// given
Expand Down

0 comments on commit 76dcc45

Please sign in to comment.