Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Draft
autonomousapps wants to merge3 commits intomain
base:main
Choose a base branch
Loading
fromtrobalik.transitive-runtime

Conversation

autonomousapps
Copy link
Owner

No description provided.

Comment on lines +63 to +66
// TODO(tsr): cleanup
// val isMainVisibleForDownstreamCompile = Bucket.isVisibleToTestCompileClasspath(mainUsages, mainDeclarations)
// val isMainVisibleForDownstreamRuntime = Bucket.isVisibleToTestRuntimeClasspath(mainUsages, mainDeclarations)
val visibility = Bucket.determineVisibility(mainUsages, mainDeclarations)
Copy link
OwnerAuthor

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()))
Copy link
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This was a bug.

Comment on lines +42 to +43
@PendingFeature
def "transitive dependencies with runtime capabilities are added directly (#gradleVersion)"() {
Copy link
OwnerAuthor

@autonomousappsautonomousappsMay 20, 2025
edited
Loading

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.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@autonomousapps

[8]ページ先頭

©2009-2025 Movatter.jp