plugins { kotlin("jvm") version "1.9.22" id("com.google.protobuf") version "0.9.4" } group = "dev.usbharu.unos" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { testImplementation("org.jetbrains.kotlin:kotlin-test") compileOnly("io.grpc:grpc-protobuf:1.61.1") compileOnly("com.google.protobuf:protobuf-kotlin:3.25.3") protobuf(files("../unos-proto/src/main/proto")) } tasks.test { useJUnitPlatform() } kotlin { jvmToolchain(17) } protobuf { protoc { artifact = "com.google.protobuf:protoc:3.25.3" } generateProtoTasks { all().forEach { it.builtins { create("kotlin") } } } }