-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FOSSA license scanning #13257
Add FOSSA license scanning #13257
Conversation
@@ -8,7 +8,7 @@ group = "io.opentelemetry.instrumentation" | |||
val springBootVersion = "2.6.15" | |||
|
|||
dependencies { | |||
api("org.springframework.boot:spring-boot-starter:$springBootVersion") | |||
compileOnly("org.springframework.boot:spring-boot-starter:$springBootVersion") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeanbisutti @zeitlinger is this ok? I noticed it was compileOnly
in the main starter (the reason it's related to this PR is that we're only scanning runtimeClasspath dependencies)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
compileOnly
would make more sense for me
val dependencyVersions = hashMapOf<String, String>() | ||
rootProject.extra["versions"] = dependencyVersions | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated to this PR, but we weren't using this
e5ba5f5
to
93909ef
Compare
build.gradle.kts
Outdated
// disable all tasks to stop build | ||
subprojects { | ||
tasks.configureEach { | ||
enabled = false | ||
} | ||
} | ||
} | ||
} | ||
|
||
// disable all tasks to stop build | ||
project.tasks.configureEach { | ||
if (this.name != "generateFossaConfiguration") { | ||
enabled = false | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure you need this. listTestsInPartition
uses this because it is run with ./gradlew check -x spotlessCheck listTestsInPartition
We want to get names of all tests tasks that check
would trigger but we don't want to actually run them.
No description provided.