We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d40318 commit 3ce1a02Copy full SHA for 3ce1a02
1 file changed
braintrust-java-example/build.gradle.kts
@@ -1,5 +1,5 @@
1
plugins {
2
- id("java")
+ id("braintrust.java")
3
application
4
}
5
@@ -11,10 +11,9 @@ dependencies {
11
implementation(project(":braintrust-java"))
12
13
14
-java {
+tasks.withType<JavaCompile>().configureEach {
15
// 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
+ options.release.set(9)
18
19
20
application {
0 commit comments