Skip to content

Commit 99e8b5b

Browse files
chore(internal): fix example formatting (#364)
1 parent 4f4527e commit 99e8b5b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

orb-java-example/build.gradle.kts

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("java")
2+
id("orb.java")
33
application
44
}
55

@@ -11,10 +11,9 @@ dependencies {
1111
implementation(project(":orb-java"))
1212
}
1313

14-
java {
14+
tasks.withType<JavaCompile>().configureEach {
1515
// Allow using more modern APIs, like `List.of` and `Map.of`, in examples.
16-
sourceCompatibility = JavaVersion.VERSION_1_9
17-
targetCompatibility = JavaVersion.VERSION_1_9
16+
options.release.set(9)
1817
}
1918

2019
application {

0 commit comments

Comments
 (0)