initial commit

This commit is contained in:
stainless-app[bot]
2025-10-30 20:23:03 +00:00
parent 166e6cd7e8
commit aaf7737713
2096 changed files with 462625 additions and 1 deletions
@@ -0,0 +1,28 @@
plugins {
id("langsmith-api.java")
application
}
repositories {
mavenCentral()
}
dependencies {
implementation(project(":langsmith-api-java"))
}
tasks.withType<JavaCompile>().configureEach {
// Allow using more modern APIs, like `List.of` and `Map.of`, in examples.
options.release.set(9)
}
application {
// Use `./gradlew :langsmith-api-java-example:run` to run `Main`
// Use `./gradlew :langsmith-api-java-example:run -Pexample=Something` to run `SomethingExample`
mainClass = "com.langsmith_api.api.example.${
if (project.hasProperty("example"))
"${project.property("example")}Example"
else
"Main"
}"
}