Skip to content

Commit

Permalink
REname
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhant Deshmukh <[email protected]>
  • Loading branch information
deshsidd committed Aug 12, 2024
1 parent 78e1e5d commit 8414130
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions plugins/telemetry-otel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,45 @@ dependencies {
testImplementation "io.opentelemetry:opentelemetry-sdk-testing:${versions.opentelemetry}"
}

task dependencyLicenses1 {
doLast {
def licenseFile = file("licenses/opentelemetry-exporter-logging-otlp-LICENSE.txt")
if (licenseFile.exists()) {
println "License file found at: ${licenseFile.absolutePath}"
} else {
println "License file not found."
}
}
}

task debugLicenseFiles {
doLast {
def dir = file("licenses")
def files = dir.listFiles()
if (files) {
files.each { file ->
println "Found file: ${file.name}"
}
} else {
println "No files found in directory: ${dir.absolutePath}"
}
}
}

task dependencyLicenses2 {
doLast {
def dir = file("licenses")
def files = dir.listFiles()
files.each { file ->
println "Checking file: ${file.name}"
if (file.name.contains("opentelemetry-exporter-logging-otlp")) {
println "File content: ${file.text}"
}
}
}
}



thirdPartyAudit {
ignoreViolations(
Expand Down
File renamed without changes.

0 comments on commit 8414130

Please sign in to comment.