Releases: Kord-Extensions/gradle-plugins
Release v1.6.0
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
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
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 thei18n
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 version2.3.1-SNAPSHOT
or later. - This option defaults to
1
, and this setting won't break the generated code — thus keeping compatibility with2.3.0-SNAPSHOT
and later.
- If you want to use ICU Message Format version 2 (still in development preview), set this to
Commits (1)
- 5290d4: 1.5.7: Option to switch to ICU Message Format v2.
Release v1.5.6
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 thei18n
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
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
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
Gradle Plugins 1.5.3
This version includes a small change for the KordEx plugin.
KordEx Plugin
- The
i18n
builder now exposes apublicVisibility
property. This defaults totrue
, but set it tofalse
to produce generated objects using theinternal
visibility modifier.
Commits (1)
- 632e97: 1.5.3: i18n access modifiers
Release v1.5.2
Gradle Plugins 1.5.2
This version includes a small change for the KordEx plugin.
KordEx Plugin
- Made
mainClass
in thebot
builder optional. Omit this setting when your bot doesn't have a main class, and the
Gradle plugin won't configure theapplication
plugin.
Commits (1)
- 0d8b60: 1.5.2: Optional mainClass
Release v1.5.1
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 forcompileKotlin
to pick them up.
Commits (1)
- 7a32e7: i18n generation timing fix
Release v1.5.0
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 ExtensionsKey
objects based on your project's translation bundle.- To use it, provide the
classPackage
andtranslationBundle
properties, and run thegenerateTranslationsClass
task. - The plugin will add any generated objects to your project's source-set automatically.
- Other options are available:
className
,configureSourceSet
andoutputDirectory
.
- To use it, provide the
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)
- 7a39cf: Fix test module