diff --git a/openlayer-java-example/build.gradle.kts b/openlayer-java-example/build.gradle.kts new file mode 100644 index 00000000..9973e516 --- /dev/null +++ b/openlayer-java-example/build.gradle.kts @@ -0,0 +1,18 @@ +plugins { + id("openlayer.kotlin") + id("java") + application +} + +dependencies { + implementation(project(":openlayer-java")) +} + +tasks.withType().configureEach { + // Allow using more modern APIs, like `List.of` and `Map.of`, in examples. + options.release.set(9) +} + +application { + mainClass = "com.openlayer.api.example.Main" +}