diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c23f3b1b..2e6f3285 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,6 +58,17 @@ jobs: with: cache-read-only: true + - name: GitHub Release + # https://github.com/anton-yurchenko/git-release#readme + uses: docker://antonyurchenko/git-release:latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DRAFT_RELEASE: "true" + PRE_RELEASE: "${{ env.RELEASE_PRE }}" + RELEASE_NAME_SUFFIX: "${{ env.RELEASE_SUFFIX }}" + CHANGELOG_FILE: "CHANGELOG.md" + ALLOW_EMPTY_CHANGELOG: "false" + - name: Check and publish plugin if: github.repository == 'fluxo-kt/fluxo-kmp-conf' env: @@ -70,16 +81,5 @@ jobs: -Pgradle.publish.key="${{ secrets.GRADLE_PUBLISH_KEY }}" -Pgradle.publish.secret="${{ secrets.GRADLE_PUBLISH_SECRET }}" - - name: GitHub Release - # https://github.com/anton-yurchenko/git-release#readme - uses: docker://antonyurchenko/git-release:latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DRAFT_RELEASE: "true" - PRE_RELEASE: "${{ env.RELEASE_PRE }}" - RELEASE_NAME_SUFFIX: "${{ env.RELEASE_SUFFIX }}" - CHANGELOG_FILE: "CHANGELOG.md" - ALLOW_EMPTY_CHANGELOG: "false" - # References # https://github.com/studiometa/vue-mapbox-gl/blob/8c3ca5a/.github/workflows/release.yml#L26 diff --git a/CHANGELOG.md b/CHANGELOG.md index 612504ae..1cfd71ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ [//]: # (Removed, Added, Changed, Fixed, Updated) + +## [0.5.0] - 2023-12-24 + ### Fixed - correct publication configuration. @@ -60,6 +63,7 @@ _Stabilization release._ ## Notes +[0.5.0]: https://github.com/fluxo-kt/fluxo-kmp-conf/releases/tag/v0.5.0 [0.4.0]: https://github.com/fluxo-kt/fluxo-kmp-conf/releases/tag/v0.4.0 [0.3.0]: https://github.com/fluxo-kt/fluxo-kmp-conf/releases/tag/v0.3.0 [0.2.0]: https://github.com/fluxo-kt/fluxo-kmp-conf/releases/tag/v0.2.0 diff --git a/README.md b/README.md index 70cace73..1bc374fc 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Targeted for Gradle 8+ and Kotlin 1.9+. Built with:
// in the `build.gradle.kts` of the target module plugins { kotlin("multiplatform") version "1.9.21" - id("io.github.fluxo-kt.fluxo-kmp-conf") version "0.4.0" // <-- add here + id("io.github.fluxo-kt.fluxo-kmp-conf") version "0.5.0" // <-- add here } ``` diff --git a/dependencies/classpath.txt b/dependencies/classpath.txt index bfb91af5..6a3f9372 100644 --- a/dependencies/classpath.txt +++ b/dependencies/classpath.txt @@ -25,8 +25,8 @@ com.squareup.okio:okio-jvm:3.2.0 com.squareup.okio:okio:3.2.0 commons-codec:commons-codec:1.16.0 dev.equo.ide:solstice:1.7.4 -io.github.fluxo-kt.fluxo-kmp-conf:io.github.fluxo-kt.fluxo-kmp-conf.gradle.plugin:0.3.0 -io.github.fluxo-kt:plugin:0.3.0 +io.github.fluxo-kt.fluxo-kmp-conf:io.github.fluxo-kt.fluxo-kmp-conf.gradle.plugin:0.4.0 +io.github.fluxo-kt:fluxo-kmp-conf:0.4.0 io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.4 jakarta.activation:jakarta.activation-api:1.2.1 jakarta.xml.bind:jakarta.xml.bind-api:2.3.2 diff --git a/fluxo-kmp-conf/api/plugin.api b/fluxo-kmp-conf/api/plugin.api index 644e1e33..50aa12ec 100644 --- a/fluxo-kmp-conf/api/plugin.api +++ b/fluxo-kmp-conf/api/plugin.api @@ -172,6 +172,7 @@ public abstract interface class fluxo/conf/dsl/FluxoConfigurationExtension : flu public static synthetic fun asMultiplatform$default (Lfluxo/conf/dsl/FluxoConfigurationExtension;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public fun configure (Lkotlin/jvm/functions/Function1;)V public static synthetic fun configure$default (Lfluxo/conf/dsl/FluxoConfigurationExtension;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V + public fun configureAsLibrary ()V public abstract fun defaults (Lkotlin/jvm/functions/Function1;)V public abstract fun getSkipDefaultConfigurations ()Z public abstract fun setSkipDefaultConfigurations (Z)V diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index fa30fea9..b8020b71 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -8,8 +8,8 @@ [versions] -version = "0.4.0" -fluxo-conf = "0.3.0" +version = "0.5.0" +fluxo-conf = "0.4.0" # Java/Kotlin compatibility # WARNING: kotlinApiVersion can't be greater than kotlinLangVersion!