-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
I have a build.gradle.kts looking roughly like this:
import org.scoverage.OverallCheckTask
import com.google.protobuf.gradle.ExecutableLocator
import com.google.protobuf.gradle.ProtobufConfigurator
plugins {
java
scala
id("com.google.protobuf") version "0.8.5"
}
dependencies {
// My dependencies ...
}
val jar by tasks
jar.dependsOn("generateTestProto")
protobuf {
protobuf(closureOf<ProtobufConfigurator> {
// Configure location of the proto compiler
protoc(closureOf<ExecutableLocator> {
artifact = thirdParty.protoc
})
})
}
If I try to run ./gradlew :my-module:checkSCoverage, it'll fail to find the generated proto classes as tries to look for them in build/classes/java/testScoverage instead of build/classes/java/test.
Metadata
Metadata
Assignees
Labels
No labels