Fix grpc-compiler build.

This commit is contained in:
Kun Zhang 2016-01-26 15:30:35 -08:00
parent 46ce4098c5
commit 29784d1afb
1 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ println "*** Please refer to https://github.com/grpc/grpc-java/blob/master/COMPI
task buildArtifacts(type: Copy) {
dependsOn 'java_pluginExecutable'
from("$buildDir/binaries") {
from("$buildDir/exe") {
if (osdetector.os != 'windows') {
rename 'protoc-gen-grpc-java', '$0.exe'
}
@ -181,7 +181,7 @@ task buildArtifacts(type: Copy) {
archivesBaseName = "$protocPluginBaseName"
artifacts {
archives("$artifactStagingPath/java_pluginExecutable/${protocPluginBaseName}.exe" as File) {
archives("$artifactStagingPath/java_plugin/${protocPluginBaseName}.exe" as File) {
classifier osdetector.os + "-" + arch
type "exe"
extension "exe"