Gradle plugin supporting the vlingo platform.
Caution
|
WORK IN PROGRESS BREAKING CHANGES TO COME |
// build.gradle.kts
plugins {
id("java") // or groovy, scala, kotlin
id("io.vlingo.codegen") version "0.1.1"
}
dependencies {
implementation("io.vlingo:vlingo-actors:0.8.2")
}
tasks {
generateActorProxies {
actorProtocols.set(listOf(
"io.vlingo.gradle.actortest.Test1Protocol",
"io.vlingo.gradle.actortest.Test2Protocol"
))
}
}
// app/build.gradle.kts
plugins {
id("com.android.application") version "3.3.0"
id("io.vlingo.codegen") version "0.1.1"
}
dependencies {
implementation("io.vlingo:vlingo-actors:0.8.2")
}
afterEvaluate {
tasks.getByName("generateDebugActorProxies") {
actorProtocols.set(listOf(
"io.vlingo.gradle.actortest.Test1Protocol",
"io.vlingo.gradle.actortest.Test2Protocol"
))
}
}