Skip to content

Commit e875e14

Browse files
trasklaurit
andauthored
Fix OSS Index Audit again (#2706)
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
1 parent 5075fa2 commit e875e14

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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+
isExcludeCompileOnly = 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)