mirror of
https://github.com/hanzo-java/sdk.git
synced 2026-11-20 20:02:20 +00:00
22 lines
363 B
Kotlin
22 lines
363 B
Kotlin
plugins {
|
|
id("hanzo.java")
|
|
application
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":hanzo-java"))
|
|
}
|
|
|
|
tasks.withType<JavaCompile>().configureEach {
|
|
// Allow using more modern APIs, like `List.of` and `Map.of`, in examples.
|
|
options.release.set(9)
|
|
}
|
|
|
|
application {
|
|
mainClass = "ai.hanzo.api.example.Main"
|
|
}
|