Skip to content

Commit

Permalink
Fix starter build script (#773)
Browse files Browse the repository at this point in the history
* fix starter build script
  • Loading branch information
dhaval24 authored Nov 13, 2018
1 parent 670a4b6 commit 1452d11
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions azure-application-insights-spring-boot-starter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,25 +76,29 @@ shadowJar {
// end excluding transitive dependencies

exclude(dependency([group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1.3']))
exclude(dependency([group: 'com.google.guava', name: 'guava', version: '20.0']))
exclude(dependency([group: 'com.google.guava', name: 'guava', version: '26.0-android']))
exclude(dependency([group: 'com.google.code.gson', name: 'gson', version: '2.8.2']))

// exclude gRPC and protobuf dependencies
exclude(dependency([group: 'com.google.protobuf', name:'protobuf-java', version:'3.6.1']))
exclude(dependency([group: 'io.grpc', name: 'grpc-stub', version: '1.14.0']))
exclude(dependency([group: 'io.grpc', name: 'grpc-protobuf', version: '1.14.0']))
exclude(dependency([group: 'io.grpc', name: 'grpc-context', version: '1.14.0']))
exclude(dependency([group: 'io.grpc', name: 'grpc-stub', version: '1.16.1']))
exclude(dependency([group: 'io.grpc', name: 'grpc-protobuf', version: '1.16.1']))
exclude(dependency([group: 'io.grpc', name: 'grpc-context', version: '1.16.1']))
exclude(dependency([group: 'com.google.code.gson', name: 'gson', version: '2.8.2']))
exclude(dependency([group: 'com.google.guava', name: 'guava', version: '20.0']))
exclude(dependency([group: 'com.google.errorprone', name: 'error_prone_annotations', version: '2.1.2']))
exclude(dependency([group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.0']))
exclude(dependency([group: 'com.google.errorprone', name: 'error_prone_annotations', version: '2.2.0']))
exclude(dependency([group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2']))
exclude(dependency([group: 'io.opencensus', name: 'opencensus-api', version: '0.12.3']))
exclude(dependency([group: 'io.opencensus', name: 'opencensus-contrib-grpc-metrics', version: '0.12.3']))
exclude(dependency([group: 'io.grpc', name: 'grpc-core', version: '1.14.0']))
exclude(dependency([group: 'io.grpc', name: 'grpc-core', version: '1.16.1']))
exclude(dependency([group: 'com.google.protobuf', name: 'protobuf-java', version: '3.6.1']))
exclude(dependency([group: 'com.google.api.grpc', name: 'proto-google-common-protos', version: '1.0.0']))
exclude(dependency([group: 'io.grpc', name: 'grpc-protobuf-lite', version: '1.14.0']))
exclude(dependency([group: 'io.grpc', name: 'grpc-netty-shaded', version: '1.14.0']))
exclude(dependency([group: 'io.grpc', name: 'grpc-protobuf-lite', version: '1.16.1']))
exclude(dependency([group: 'io.grpc', name: 'grpc-netty-shaded', version: '1.16.1']))
exclude(dependency([group: 'org.codehaus.mojo', name: 'animal-sniffer-annotations', version: '1.17']))
exclude(dependency([group: 'org.checkerframework', name: 'checker-compat-qual', version: '2.5.2']))
exclude(dependency([group: 'com.google.j2objc', name:'j2objc-annotations', version: '1.1']))

}
classifier=''
relocate 'org.apache.commons', "${dependenciesPrefix}.apachecommons"
Expand Down

0 comments on commit 1452d11

Please sign in to comment.