Skip to content

Commit

Permalink
fix remaining build & run issues for python server integration.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 636615848
Change-Id: I0a8dbd7878bb1a0f4a4c4dc8e8ca5dcdb0e07190
  • Loading branch information
maoning authored and copybara-github committed May 23, 2024
1 parent 41097b5 commit db286cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

plugins {
id 'net.ltgt.errorprone' apply false
id "com.github.johnrengelman.shadow"
}

subprojects {
Expand All @@ -11,6 +12,7 @@ subprojects {
apply plugin: "signing"

apply plugin: 'net.ltgt.errorprone'
apply plugin: 'com.github.johnrengelman.shadow'

group = 'com.google.tsunami'
version = '0.0.23-SNAPSHOT' // Current Tsunami version
Expand Down Expand Up @@ -99,6 +101,12 @@ subprojects {
]
}

// Resolving conflicting NameResolverProvider from grpc-core.jar and
// grpc-netty-shaded.jar, https://github.com/grpc/grpc-java/issues/10853
shadowJar {
mergeServiceFiles()
}

if (rootProject.properties.get('errorProne', true)) {
dependencies {
errorprone "com.google.errorprone:error_prone_core:${errorproneVersion}"
Expand Down
2 changes: 1 addition & 1 deletion quick_start_advanced.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ printf " --ip-v4-target=127.0.0.1 \\\\\n"
printf " --scan-results-local-output-format=JSON \\\\\n"
printf " --scan-results-local-output-filename=/tmp/tsunami-output.json \\\\\n"
printf " --python-plugin-server-address=127.0.0.1 \\\\\n"
printf " --python-plugin-server-ports=34567 \n"
printf " --python-plugin-server-port=34567 \n"

0 comments on commit db286cd

Please sign in to comment.