Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork132
test: add failing test for transitive runtime capability.#1456
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
// TODO(tsr): cleanup | ||
// val isMainVisibleForDownstreamCompile = Bucket.isVisibleToTestCompileClasspath(mainUsages, mainDeclarations) | ||
// val isMainVisibleForDownstreamRuntime = Bucket.isVisibleToTestRuntimeClasspath(mainUsages, mainDeclarations) | ||
val visibility = Bucket.determineVisibility(mainUsages, mainDeclarations) |
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.
Cleanup.
fun isDowngrade(): Boolean =(isRemove() || isCompileOnly() || isRuntimeOnly()) | ||
fun isDowngrade(): Boolean = isRemove() ||(!isAnyAdd() && (isCompileOnly() || isRuntimeOnly())) |
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.
This was a bug.
@PendingFeature | ||
def "transitive dependencies with runtime capabilities are added directly (#gradleVersion)"() { |
autonomousappsMay 20, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
Getting this test to pass will be harder than originally expected. I've made a lot of assumptions about not providing "runtimeOnly" advice in the past.
…dardTransform.This simplifies construction of that class.
No description provided.