From 29784d1afbef8f55fbe3d9a556db5eb010b64d52 Mon Sep 17 00:00:00 2001 From: Kun Zhang Date: Tue, 26 Jan 2016 15:30:35 -0800 Subject: [PATCH] Fix grpc-compiler build. --- compiler/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/build.gradle b/compiler/build.gradle index fa77d346a9..b65e058f57 100644 --- a/compiler/build.gradle +++ b/compiler/build.gradle @@ -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"