Skip to content
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

Migrate to libs.versions.toml #165

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Conversation

adrw
Copy link
Collaborator

@adrw adrw commented Jan 15, 2024

No description provided.

@@ -56,7 +56,7 @@ subprojects {

dependencies {
// add("api", project(":tempest-bom"))
add("api", platform(Dependencies.nettyBom))
add("api", platform(libs.nettyBom))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, I'm kind of surprised this works. In subprojects blocks you usually need to reference libs via rootProject.libs due to a gradle bug (gradle/gradle#16634). Are you able to confirm this block is actually getting run?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hm, it must be - CI is passing and this would be a build-time error otherwise. Odd, not sure why it didn't work on other repos...

Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems like it works inside the plugins.withType block but not outside. Woo gradle!

@adrw adrw merged commit 4a51de6 into main Jan 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants