Skip to content

Commit ed59ffe

Browse files
committed
Fix OSS Index Audit again
1 parent 394eca2 commit ed59ffe

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ afterEvaluate {
218218
}
219219

220220
ossIndexAudit {
221-
username = System.getenv("SONATYPE_OSS_INDEX_USER") ?: ""
222-
password = System.getenv("SONATYPE_OSS_INDEX_PASSWORD") ?: ""
221+
excludeCompileOnly = true
223222
outputFormat = org.sonatype.gradle.plugins.scan.ossindex.OutputFormat.JSON_CYCLONE_DX_1_4
223+
224+
username = System.getenv("SONATYPE_OSS_INDEX_USER")
225+
password = System.getenv("SONATYPE_OSS_INDEX_PASSWORD")
224226
}

0 commit comments

Comments
 (0)