Skip to content

Commit ee172e8

Browse files
chore(internal): fix example formatting (#553)
1 parent de6247c commit ee172e8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lithic-java-example/build.gradle.kts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("java")
2+
id("lithic.java")
33
application
44
}
55

@@ -11,10 +11,9 @@ dependencies {
1111
implementation(project(":lithic-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)