javaJar

Available in a dev version: 0․11․0-grpc-186

How to configure

fun javaJar(jarPath: Provider<String>, executablePath: Provider<String>? = null)(source)

Protoc plugin jar file path.

If executablePath is not specified, the jar will be executed with Java used for the Gradle build.


fun javaJar(jarPath: String)(source)

Protoc plugin jar file path.

Uses default Java executable, the same as for the Gradle build.