From 13e125f31498582bbc65334eca76581b98020a3f Mon Sep 17 00:00:00 2001 From: KotlinGeekDev Date: Fri, 14 Feb 2025 23:01:02 +0100 Subject: [PATCH 1/4] Add initial for cancellable workflows. --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f8e94af..ce090f6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,7 @@ on: types: [released] #concurrency: +# group: ${{ github.ref }} # cancel-in-progress: true jobs: From aa9686abff02d3178b6595fabb41bde3fad2b95a Mon Sep 17 00:00:00 2001 From: KotlinGeekDev Date: Sat, 15 Feb 2025 01:42:49 +0100 Subject: [PATCH 2/4] Disable desugaring. --- .github/workflows/publish.yml | 10 +++++----- rhodium-core/build.gradle.kts | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ce090f6..a72959e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,14 +1,14 @@ name: Publish on: -# push: -# branches: ["develop"] + push: + branches: ["develop"] release: types: [released] -#concurrency: -# group: ${{ github.ref }} -# cancel-in-progress: true +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true jobs: publish: diff --git a/rhodium-core/build.gradle.kts b/rhodium-core/build.gradle.kts index 7841d79..8c95ef8 100644 --- a/rhodium-core/build.gradle.kts +++ b/rhodium-core/build.gradle.kts @@ -224,12 +224,12 @@ android { } } compileOptions { - isCoreLibraryDesugaringEnabled = true + isCoreLibraryDesugaringEnabled = false sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } dependencies { - coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.3") +// coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.3") testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.ext:junit:1.2.1") androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1") From b2815c4f68ff4356aa4439a0c4cbfb5d57bcda92 Mon Sep 17 00:00:00 2001 From: KotlinGeekDev Date: Sun, 16 Feb 2025 14:57:44 +0100 Subject: [PATCH 3/4] Enable minification. --- rhodium-core/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodium-core/build.gradle.kts b/rhodium-core/build.gradle.kts index 8c95ef8..6a23dbb 100644 --- a/rhodium-core/build.gradle.kts +++ b/rhodium-core/build.gradle.kts @@ -220,7 +220,7 @@ android { aarMetadata { } - isMinifyEnabled = false + isMinifyEnabled = true } } compileOptions { From 5e919817f4bc5957cd4063cf22ceafb0a732a113 Mon Sep 17 00:00:00 2001 From: KotlinGeekDev Date: Sun, 16 Feb 2025 14:58:21 +0100 Subject: [PATCH 4/4] Move to new version: v1.0-beta-11. --- .github/workflows/publish.yml | 4 ++-- README.md | 6 +++--- build.gradle.kts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a72959e..c8b296d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,8 +1,8 @@ name: Publish on: - push: - branches: ["develop"] +# push: +# branches: ["develop"] release: types: [released] diff --git a/README.md b/README.md index 2afb97b..9efe287 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ You can include the library from either Maven Central or Jitpack. You can include the library in the common source set like this: ```kotlin dependencies { - implementation("io.github.kotlingeekdev:rhodium:1.0-beta-10") + implementation("io.github.kotlingeekdev:rhodium:1.0-beta-11") } ``` @@ -74,7 +74,7 @@ then, in your module's `build.gradle(.kts)`, you need to add: // build.gradle.kts dependencies { //... - implementation("com.github.KotlinGeekDev.Rhodium:rhodium:1.0-beta-10") + implementation("com.github.KotlinGeekDev.Rhodium:rhodium:1.0-beta-11") } @@ -85,7 +85,7 @@ If you're including it in an Android app, you can just add: // app/build.gradle.kts dependencies { //... - implementation("com.github.KotlinGeekDev.Rhodium:rhodium-android:1.0-beta-10") + implementation("com.github.KotlinGeekDev.Rhodium:rhodium-android:1.0-beta-11") } ``` diff --git a/build.gradle.kts b/build.gradle.kts index 7c4082f..8f3942e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -31,7 +31,7 @@ allprojects { val isJitpack = System.getenv("JITPACK") == "true" group = "io.github.kotlingeekdev" - version = "1.0-beta-10" + version = "1.0-beta-11" // val javadocJar = tasks.register("javadocJar") {