diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml index d4b7acc..fe63bb6 100644 --- a/.idea/kotlinc.xml +++ b/.idea/kotlinc.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/changes/1.5.1.md b/changes/1.5.1.md new file mode 100644 index 0000000..01496ca --- /dev/null +++ b/changes/1.5.1.md @@ -0,0 +1,7 @@ +# 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. diff --git a/gradle.properties b/gradle.properties index f0dfa1b..58057cb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,4 +3,4 @@ kotlin.incremental=true org.gradle.jvmargs=-XX:MaxMetaspaceSize=1024m org.gradle.parallel=true -projectVersion=1.5.0 +projectVersion=1.5.1 diff --git a/kordex/src/main/kotlin/dev/kordex/gradle/plugins/kordex/helpers/I18nHelper.kt b/kordex/src/main/kotlin/dev/kordex/gradle/plugins/kordex/helpers/I18nHelper.kt index fcbbcea..fdf748d 100644 --- a/kordex/src/main/kotlin/dev/kordex/gradle/plugins/kordex/helpers/I18nHelper.kt +++ b/kordex/src/main/kotlin/dev/kordex/gradle/plugins/kordex/helpers/I18nHelper.kt @@ -65,7 +65,7 @@ object I18nHelper { } } - target.tasks.getByName("build") { + target.tasks.getByName("compileKotlin") { dependsOn(generateTask) } diff --git a/testModule/settings.gradle.kts b/testModule/settings.gradle.kts index 96cef42..53e31d3 100644 --- a/testModule/settings.gradle.kts +++ b/testModule/settings.gradle.kts @@ -1,6 +1,6 @@ pluginManagement { plugins { - val pluginVersion = "1.5.0" + val pluginVersion = "1.5.1" kotlin("jvm") version "2.0.21"