Skip to content

Update deps to latest#26

Merged
tajobe merged 3 commits intomasterfrom
feature/update-deps
Mar 13, 2022
Merged

Update deps to latest#26
tajobe merged 3 commits intomasterfrom
feature/update-deps

Conversation

@tajobe
Copy link
Member

@tajobe tajobe commented Mar 13, 2022

  • MC 1.18
  • Java 17
  • Kotlin 1.6
  • Some formatting fixes
  • Fix now-deprecated kotlin calls
  • Latest versions of our actions steps (least confident in the release plugin update, will have to test a release...)

@tajobe tajobe added the enhancement New feature or request label Mar 13, 2022
@tajobe tajobe requested a review from Puremin0rez March 13, 2022 02:42
- uses: actions/setup-java@v2
with:
java-version: 11
- uses: actions/cache@v1
Copy link
Member Author

Choose a reason for hiding this comment

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

FWIW, cache is not recommended when using the gradle-build-action:

When using gradle-build-action we recommend that you not use actions/cache or actions/setup-java@v2 to explicitly cache the Gradle User Home. Doing so may interfere with the caching provided by this action.


repositories {
jcenter()
mavenCentral()
Copy link
Member Author

Choose a reason for hiding this comment

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

RIP jcenter

else -> type.name.lowercase().split('_').joinToString(separator = " ", transform = String::titlecaseFirstChar)
}

fun String.titlecaseFirstChar() = replaceFirstChar(Char::titlecase)
Copy link
Member

Choose a reason for hiding this comment

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

Did they remove / deprecate capitalize in kotlin?! That's definitely going to effect some of my projects lol

Copy link
Member Author

Choose a reason for hiding this comment

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

Deprecated in 1.5: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/capitalize.html

...I think they did it because it wasn't actually clear what the behavior was by name alone.

@tajobe tajobe merged commit 6ddd542 into master Mar 13, 2022
@tajobe tajobe deleted the feature/update-deps branch March 13, 2022 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants