|
| 1 | +muzzle { |
| 2 | + pass { |
| 3 | + group = "com.alipay.sofa" |
| 4 | + module = "sofa-rpc-all" |
| 5 | + versions = "[5.0.0,)" |
| 6 | + assertInverse = true |
| 7 | + } |
| 8 | +} |
| 9 | + |
| 10 | +apply from: "$rootDir/gradle/java.gradle" |
| 11 | + |
| 12 | +addTestSuiteForDir('latestDepTest', 'test') |
| 13 | + |
| 14 | +configurations.testRuntimeClasspath { |
| 15 | + resolutionStrategy.force "com.google.guava:guava:32.1.3-jre" |
| 16 | +} |
| 17 | + |
| 18 | +dependencies { |
| 19 | + compileOnly group: "com.alipay.sofa", name: "sofa-rpc-all", version: "5.6.0" |
| 20 | + |
| 21 | + testImplementation group: "com.alipay.sofa", name: "sofa-rpc-all", version: "5.14.2" |
| 22 | + // JAX-RS annotations required for the REST protocol test interface (@Path, @GET, etc.) |
| 23 | + testImplementation group: "javax.ws.rs", name: "javax.ws.rs-api", version: "2.1.1" |
| 24 | + // Required so that GrpcServerModule / GrpcClientModule are discovered via ServiceLoader |
| 25 | + // in SofaRpcTripleWithGrpcForkedTest. |
| 26 | + testImplementation project(':dd-java-agent:instrumentation:grpc-1.5') |
| 27 | + testImplementation group: "io.grpc", name: "grpc-netty", version: "1.53.0" |
| 28 | + testImplementation group: "io.grpc", name: "grpc-core", version: "1.53.0" |
| 29 | + testImplementation group: "io.grpc", name: "grpc-stub", version: "1.53.0" |
| 30 | + testImplementation group: "com.google.protobuf", name: "protobuf-java", version: "3.25.3" |
| 31 | + testImplementation group: "com.alibaba", name: "fastjson", version: "1.2.83" |
| 32 | + testImplementation group: "com.google.guava", name: "guava", version: "32.1.3-jre" |
| 33 | + |
| 34 | + latestDepTestImplementation group: "com.alipay.sofa", name: "sofa-rpc-all", version: "+" |
| 35 | +} |
0 commit comments