Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update readme.md with badge and JDK compatibility #341

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

joriscode
Copy link
Contributor

  • Update the badge because it was outdated (referencing 2.4.6).
  • Add JDK compatibility to indicate drop of Java 8 support.

Copy link
Contributor

@kitbellew kitbellew left a comment

Choose a reason for hiding this comment

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

thank you for the submission. a couple of questions.

@@ -19,6 +19,12 @@ If the above does not work, in enterprise environments, try:
libraryDependencies += "org.scalameta" % "sbt-scalafmt_2.12_1.0" % PLUGIN_VERSION
```

#### JDK compatibility
Copy link
Contributor

Choose a reason for hiding this comment

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

should it be under installation? this file doesn't have any other #### headings, everything is ###.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that was my goal (to have this as a sub-section of installation section). If you prefer it to be a "h3" section, I will happily change this.

@@ -1,7 +1,7 @@
# sbt-scalafmt
[![Join the chat at https://gitter.im/scalameta/scalafmt](https://badges.gitter.im/scalameta/scalafmt.svg)](https://gitter.im/scalameta/scalafmt?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Join the discord chat](https://img.shields.io/discord/632642981228314653?label=discord)](https://discordapp.com/channels/632642981228314653/632665341864181780)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.scalameta/sbt-scalafmt/badge.svg?kill_cache=1)](https://search.maven.org/artifact/org.scalameta/sbt-scalafmt/)
[![Latest version](https://index.scala-lang.org/scalameta/sbt-scalafmt/latest.svg?kill_cache=1)](https://index.scala-lang.org/scalameta/sbt-scalafmt)
Copy link
Contributor

Choose a reason for hiding this comment

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

could you also revise the "maven central" reference below? (i found one on line 12)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!
I pushed a new commit because I didn't want to force-push. Let me know your preferences if you have any.

@kitbellew kitbellew merged commit 80c5d10 into scalameta:main Jan 10, 2025
@kitbellew
Copy link
Contributor

@joriscode thank you, merged, please delete your branch

@joriscode joriscode deleted the patch-1 branch January 10, 2025 09:58
@joriscode
Copy link
Contributor Author

Thank you for accepting my changes!

#### JDK compatibility
| JDK | Release |
| ---- | ---------------|
| 8 | Up to `v2.5.1` |
Copy link

Choose a reason for hiding this comment

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

Nitpick: 2.5.2 was still compatible with JDK8

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants