pb plugin working really really well

This commit is contained in:
Adam 2021-10-31 09:13:41 +01:00
parent 2920f2fcc2
commit 5bb5f42af0
6 changed files with 45 additions and 34 deletions

View file

@ -10,8 +10,15 @@ val buildDir: Directory = layout.buildDirectory.dir(projectId).get()
dependencies {
protobufLibrary("com.google.protobuf:protobuf-javalite:3.19.1")
api("com.google.protobuf:protobuf-javalite:3.19.1")
api("com.google.protobuf:protobuf-kotlin-lite:3.19.1")
}
tasks.protobufCompile {
protoFile.set(layout.projectDirectory.file("src/main/proto/FactorioServerLogRecord.proto"))
}
sourceSets {
}