Skip to content

Commit 9339d17

Browse files
chore(docs): add example project (#71)
1 parent 9598a2e commit 9339d17

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
plugins {
2+
id("openlayer.kotlin")
3+
id("java")
4+
application
5+
}
6+
7+
dependencies {
8+
implementation(project(":openlayer-java"))
9+
}
10+
11+
tasks.withType<JavaCompile>().configureEach {
12+
// Allow using more modern APIs, like `List.of` and `Map.of`, in examples.
13+
options.release.set(9)
14+
}
15+
16+
application {
17+
mainClass = "com.openlayer.api.example.Main"
18+
}

0 commit comments

Comments
 (0)