Skip to content

Releases: Kord-Extensions/gradle-plugins

Release v1.6.0

28 Nov 07:58
54c6779
Compare
Choose a tag to compare

Gradle Plugins 1.6.0

This version updates all Gradle plugins to Gradle 8.11 and Kotlin 2.0.20.

We no longer support older versions of Gradle.


Commits (1)

  • 54c677: 1.6.0: Update to Gradle 8.11 and Kotlin 2.0.20.

Release v1.5.8

20 Nov 11:54
cc7f303
Compare
Choose a tag to compare

Gradle Plugins 1.5.8

This version includes a small change to the KordEx plugin.

KordEx Plugin

  • Switch to Kord's own Maven repo for snapshot resolution.
    • This change means the KordEx plugin doesn't rely on OSSRH, and won't break due to its spotty uptime.
    • If you need to use the OSSRH repos for other dependencies, you'll now need to add them yourself.

Commits (1)

  • cc7f30: 1.5.8: No more OSSRH!

Release v1.5.7

20 Nov 11:12
5290d48
Compare
Choose a tag to compare

Gradle Plugins 1.5.7

This version includes a change to the KordEx plugin, specifically the translation class generator.

KordEx Plugin

  • Update the translation class generator.
    • The translation class generator now alphabetically sorts the generated keys and objects, for easier browsing.
  • Add a new messageFormatVersion property to the i18n builder.
    • If you want to use ICU Message Format version 2 (still in development preview), set this to 2. This will require the latest build of KordEx version 2.3.1-SNAPSHOT or later.
    • This option defaults to 1, and this setting won't break the generated code — thus keeping compatibility with 2.3.0-SNAPSHOT and later.

Commits (1)

  • 5290d4: 1.5.7: Option to switch to ICU Message Format v2.

Release v1.5.6

04 Nov 19:48
d16f92a
Compare
Choose a tag to compare

Gradle Plugins 1.5.6

This version includes a change to the KordEx plugin, specifically the translation class generator.

KordEx Plugin

  • Update the translation class generator. This is a breaking change!
    • The translation class generator now removes common delimiters in names and generates a camel-case name based on the result.
    • You can disable this behaviour using the camelCaseNames option in the i18n builder until you decide to migrate your code. However, this option will be removed in a future version, so update your code as soon as possible!
  • Reformat warnings, so they show up in the side panel in IDEA and other JetBrains IDEs.

Commits (1)

  • d16f92: 1.5.6: Updated translation class generator, better warnings

Release v1.5.5

03 Nov 15:04
0b7335d
Compare
Choose a tag to compare

Gradle Plugins 1.5.5

This version includes a small internal API change in the KordEx plugin.

You shouldn't use internal APIs unless you need to, so I don't document them. This version adds an opt-in annotation to explicitly tag internal APIs.


Commits (1)

  • 0b7335: 1.5.5: Tagged internal APIs

Release v1.5.4

27 Oct 10:35
4c97e06
Compare
Choose a tag to compare

Gradle Plugins 1.5.3

This version includes a small change for the KordEx plugin.

KordEx Plugin

  • For the i18n builder, attempt to throw a more useful error when the source translation bundle isn't using the UTF-8 encoding.

Commits (1)

  • 4c97e0: 1.5.4: Better encoding errors for i18n

Release v1.5.3

25 Oct 09:58
632e970
Compare
Choose a tag to compare

Gradle Plugins 1.5.3

This version includes a small change for the KordEx plugin.

KordEx Plugin

  • The i18n builder now exposes a publicVisibility property. This defaults to true, but set it to false to produce generated objects using the internal visibility modifier.

Commits (1)

  • 632e97: 1.5.3: i18n access modifiers

Release v1.5.2

20 Oct 16:16
0d8b605
Compare
Choose a tag to compare

Gradle Plugins 1.5.2

This version includes a small change for the KordEx plugin.

KordEx Plugin

  • Made mainClass in the bot builder optional. Omit this setting when your bot doesn't have a main class, and the
    Gradle plugin won't configure the application plugin.

Commits (1)

  • 0d8b60: 1.5.2: Optional mainClass

Release v1.5.1

20 Oct 15:30
7a32e70
Compare
Choose a tag to compare

Gradle Plugins 1.5.0

This version includes a small fix for the KordEx plugin.

KordEx Plugin

  • Fix a problem where the generated Key objects were being generated too late for compileKotlin to pick them up.

Commits (1)

  • 7a32e7: i18n generation timing fix

Release v1.5.0

20 Oct 15:02
7a39cf5
Compare
Choose a tag to compare

Gradle Plugins 1.5.0

This version includes some small changes to the KordEx plugin.

KordEx Plugin

  • This version adds a new i18n { } builder, allowing you to generate Kord Extensions Key objects based on your project's translation bundle.
    • To use it, provide the classPackage and translationBundle properties, and run the generateTranslationsClass task.
    • The plugin will add any generated objects to your project's source-set automatically.
    • Other options are available: className, configureSourceSet and outputDirectory.

For more information on the i18n { } builder, please read the documentation.

For more information on doing i18n work with Kord Extensions in general, please read the new documentation page.


Commits (1)