Skip to content

Commit e376621

Browse files
committed
fix ci
1 parent ed8435b commit e376621

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

instrumentation/nacos-client-2.0.0/javaagent/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ muzzle {
1515
dependencies {
1616
library("com.alibaba.nacos:nacos-client:2.0.0")
1717
testImplementation("javax.annotation:javax.annotation-api:1.3.2")
18+
19+
latestDepTestLibrary("com.alibaba.nacos:nacos-client:2.0.4+")
1820
}
1921

2022
tasks.withType<Test>().configureEach {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright The OpenTelemetry Authors
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
package com.alibaba.nacos.shaded.com.google.errorprone.annotations;
7+
8+
import static java.lang.annotation.ElementType.TYPE;
9+
import static java.lang.annotation.RetentionPolicy.RUNTIME;
10+
11+
import java.lang.annotation.Documented;
12+
import java.lang.annotation.Retention;
13+
import java.lang.annotation.Target;
14+
15+
@Target(TYPE)
16+
@Retention(RUNTIME)
17+
@Documented
18+
public @interface DoNotMock {
19+
String value();
20+
}

0 commit comments

Comments
 (0)