File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
conventions/src/main/kotlin Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ fun findArtifact(version: String): File {
4949}
5050
5151// generate the api diff report for any module that is stable
52- if (project.findProperty(" otel.stable" ) == " true" ) {
52+ if (project.findProperty(" otel.stable" ) == " true" && project.path != " :javaagent " ) {
5353 afterEvaluate {
5454 // Only apply japicmp to projects that have a jar task (i.e. not BOMs or platforms)
5555 tasks.findByName(" jar" )?.let {
@@ -101,8 +101,8 @@ if (project.findProperty("otel.stable") == "true") {
101101 ? : file(" $rootDir /docs/apidiffs/current_vs_$baseVersionString /${base.archivesName.get()} .txt" )
102102 )
103103 }
104- // have the jApiCmp task run every time the jar task is run , to make it more likely it will get used.
105- named(" jar " ) {
104+ // have the check task depend on the api comparison task , to make it more likely it will get used.
105+ named(" check " ) {
106106 finalizedBy(jApiCmp)
107107 }
108108 }
You can’t perform that action at this time.
0 commit comments