Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wl2027 committed Dec 21, 2024
1 parent ed8435b commit e376621
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions instrumentation/nacos-client-2.0.0/javaagent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ muzzle {
dependencies {
library("com.alibaba.nacos:nacos-client:2.0.0")
testImplementation("javax.annotation:javax.annotation-api:1.3.2")

latestDepTestLibrary("com.alibaba.nacos:nacos-client:2.0.4+")
}

tasks.withType<Test>().configureEach {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/

package com.alibaba.nacos.shaded.com.google.errorprone.annotations;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target(TYPE)
@Retention(RUNTIME)
@Documented
public @interface DoNotMock {
String value();
}

0 comments on commit e376621

Please sign in to comment.