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 #367

Merged
merged 3 commits into from
Jan 15, 2024
Merged

Conversation

adrw
Copy link
Collaborator

@adrw adrw commented Jan 15, 2024

No description provided.

build.gradle.kts Outdated
@@ -56,7 +56,7 @@ subprojects {
configure<SpotlessExtension> {
kotlin {
target("**/*.kt")
ktlint(Versions.ktlint).editorConfigOverride(
ktlint("0.47.1").editorConfigOverride(
Copy link
Contributor

Choose a reason for hiding this comment

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

can we make this a reference to a version in the lib.version.toml?

Copy link
Collaborator

Choose a reason for hiding this comment

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

+1. The versions that were at the bottom of Dependencies.kt could go into the [versions] section of libs.versions.toml and then you can reference them here and in other places like libs.versions.ktlint.get()


// Dependencies for fake development services
// libs.for fake development services
Copy link
Collaborator

Choose a reason for hiding this comment

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

my regex went too far here :)

build.gradle.kts Outdated
@@ -56,7 +56,7 @@ subprojects {
configure<SpotlessExtension> {
kotlin {
target("**/*.kt")
ktlint(Versions.ktlint).editorConfigOverride(
ktlint("0.47.1").editorConfigOverride(
Copy link
Collaborator

Choose a reason for hiding this comment

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

+1. The versions that were at the bottom of Dependencies.kt could go into the [versions] section of libs.versions.toml and then you can reference them here and in other places like libs.versions.ktlint.get()

@adrw adrw force-pushed the adrw.2024-01-15.migrateVersions branch from 3be7701 to ceaa900 Compare January 15, 2024 15:39
@mpawliszyn mpawliszyn force-pushed the adrw.2024-01-15.migrateVersions branch from ceaa900 to c4c13c4 Compare January 15, 2024 15:50
@mpawliszyn mpawliszyn enabled auto-merge (squash) January 15, 2024 15:52
@mpawliszyn mpawliszyn merged commit e75454a into master Jan 15, 2024
5 checks 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.

4 participants