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

Bump Kotlin-related dependencies #242

Merged
merged 3 commits into from
Jul 12, 2022
Merged

Bump Kotlin-related dependencies #242

merged 3 commits into from
Jul 12, 2022

Conversation

Gungy2
Copy link
Contributor

@Gungy2 Gungy2 commented Jun 3, 2022

With this change, we bump all Kotlin-related dependencies to recent
versions. This includes a Kotlin bump from 1.4 to 1.6, the upgrade of
Detekt from 1.14 to 1.20 and the upgrade of Ktlint from 0.39 to 0.45.

For Kotlin, instead of depending on its stdlib, Gradle now uses the
Kotlin plugin.

For tests, the Detekt YAML file was reset from the latest default, then
adapted slightly so the expected rules still get triggered, trying to
keep it as similar as possible to what it used to be. The
NewLineAtEndOfFile rule was improved to point at the last line, instead
of the first one, thus the tests were changed accordingly.

Also, removed deprecated jcenter repository, since it is not in use
anymore.

In terms of migration/changelog:

With this change, we bump all Kotlin-related dependencies to recent
versions. This includes a Kotlin bump from 1.4 to 1.6, the upgrade of
Detekt from 1.14 to 1.20 and the upgrade of Ktlint from 0.39 to 0.45.

For Kotlin, instead of depending on its stdlib, Gradle now uses the
Kotlin plugin.

For tests, the Detekt YAML file was reset from the latest default, then
adapted slightly so the expected rules still get triggered, trying to
keep it as similar as possible to what it used to be. The
NewLineAtEndOfFile rule was improved to point at the last line, instead
of the first one, thus the tests were changed accordingly.

Ktlint deprecated the use of some of its API, so the processor was
updated accordingly.

Also, removed deprecated jcenter repository, since it is not in use
anymore.

In terms of migration/changelog:

- Release notes of Detekt, since:
  https://detekt.dev/docs/introduction/changelog/

- KtLint changelog:
  https://github.com/pinterest/ktlint/releases
@pjagielski
Copy link
Collaborator

Thanks for the submission, we'll review them. In the meantime, can you consider upgrading straight to Kotlin 1.7, which was released recently?

@alien11689
Copy link
Contributor

LGTM

@SpOOnman SpOOnman merged commit 17d84ff into TouK:master Jul 12, 2022
RayanFellah pushed a commit to RayanFellah/sputnik that referenced this pull request Jan 28, 2024
* Bump Kotlin-related dependencies

With this change, we bump all Kotlin-related dependencies to recent
versions. This includes a Kotlin bump from 1.4 to 1.6, the upgrade of
Detekt from 1.14 to 1.20 and the upgrade of Ktlint from 0.39 to 0.45.

For Kotlin, instead of depending on its stdlib, Gradle now uses the
Kotlin plugin.

For tests, the Detekt YAML file was reset from the latest default, then
adapted slightly so the expected rules still get triggered, trying to
keep it as similar as possible to what it used to be. The
NewLineAtEndOfFile rule was improved to point at the last line, instead
of the first one, thus the tests were changed accordingly.

Ktlint deprecated the use of some of its API, so the processor was
updated accordingly.

Also, removed deprecated jcenter repository, since it is not in use
anymore.

In terms of migration/changelog:

- Release notes of Detekt, since:
  https://detekt.dev/docs/introduction/changelog/

- KtLint changelog:
  https://github.com/pinterest/ktlint/releases

* Upgrade Kotlin to 1.7.0

Co-authored-by: George Ungureanu - Vranceanu <george.ungureanuvranceanu@imc.com>
Co-authored-by: Piotr Jagielski <pjg@touk.pl>
rufuslevi pushed a commit to rufuslevi/sputnik that referenced this pull request Mar 12, 2024
* Bump Kotlin-related dependencies

With this change, we bump all Kotlin-related dependencies to recent
versions. This includes a Kotlin bump from 1.4 to 1.6, the upgrade of
Detekt from 1.14 to 1.20 and the upgrade of Ktlint from 0.39 to 0.45.

For Kotlin, instead of depending on its stdlib, Gradle now uses the
Kotlin plugin.

For tests, the Detekt YAML file was reset from the latest default, then
adapted slightly so the expected rules still get triggered, trying to
keep it as similar as possible to what it used to be. The
NewLineAtEndOfFile rule was improved to point at the last line, instead
of the first one, thus the tests were changed accordingly.

Ktlint deprecated the use of some of its API, so the processor was
updated accordingly.

Also, removed deprecated jcenter repository, since it is not in use
anymore.

In terms of migration/changelog:

- Release notes of Detekt, since:
  https://detekt.dev/docs/introduction/changelog/

- KtLint changelog:
  https://github.com/pinterest/ktlint/releases

* Upgrade Kotlin to 1.7.0

Co-authored-by: George Ungureanu - Vranceanu <george.ungureanuvranceanu@imc.com>
Co-authored-by: Piotr Jagielski <pjg@touk.pl>
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.

None yet

4 participants