From 77967447918f86e705c4a5abc6cf71edbd174ea6 Mon Sep 17 00:00:00 2001 From: Leandro Colmenarez Diaz Date: Sun, 15 Feb 2026 12:10:42 -0300 Subject: [PATCH 1/3] Chore: Update Gradle and dependencies Updates various dependencies to their newer versions: * Gradle Wrapper from 9.2.1 to 9.3.1 * Kotlin from 2.2.21 to 2.3.10 * JUnit Jupiter from 6.0.1 to 6.0.2 * Compose BOM from 2025.12.00 to 2026.02.00 * `activity-compose` from 1.12.1 to 1.12.4 * `mannodermaus` (android-junit5) plugin from 1.14.0.0 to 2.0.1 Additionally, removes unused `kotlin-android` and `android-coveralls` plugin definitions. --- Library/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/build.gradle.kts b/Library/build.gradle.kts index 819952a..a64a531 100644 --- a/Library/build.gradle.kts +++ b/Library/build.gradle.kts @@ -11,7 +11,7 @@ plugins { android { namespace = "com.blipblipcode.library" compileSdk = 36 - + version = "1.3.12" defaultConfig { minSdk = 21 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" @@ -70,7 +70,7 @@ publishing { publications { create("release") { groupId = "com.github.LeandroLCD" - artifactId = "query" + artifactId = "Librery" version = project.version.toString() } } From 1c526ce29745b971b26287519cc4d57b3695a5ad Mon Sep 17 00:00:00 2001 From: Leandro Colmenarez Diaz Date: Sun, 15 Feb 2026 12:18:43 -0300 Subject: [PATCH 2/3] Perf: Enable Gradle configuration cache - Enables the Gradle configuration cache in `gradle.properties` to improve build performance. - Refactors the publishing configuration in `Library/build.gradle.kts` to be compatible with the configuration cache by moving the logic inside an `afterEvaluate` block. - Bumps the library version to `1.3.13`. --- Library/build.gradle.kts | 40 +++++++++++++++++++++------------------- gradle.properties | 3 ++- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/Library/build.gradle.kts b/Library/build.gradle.kts index a64a531..9a3dbb5 100644 --- a/Library/build.gradle.kts +++ b/Library/build.gradle.kts @@ -1,3 +1,4 @@ +import com.android.build.gradle.internal.crash.afterEvaluate import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.gradle.api.tasks.testing.logging.TestLogEvent import org.jetbrains.kotlin.gradle.dsl.JvmTarget @@ -11,7 +12,7 @@ plugins { android { namespace = "com.blipblipcode.library" compileSdk = 36 - version = "1.3.12" + version = "1.3.13" defaultConfig { minSdk = 21 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" @@ -19,6 +20,12 @@ android { consumerProguardFiles("consumer-rules.pro") } + publishing { + singleVariant("release") { + withSourcesJar() + } + } + buildTypes { release { isMinifyEnabled = false @@ -66,27 +73,22 @@ kotlin { jvmTarget = JvmTarget.JVM_17 } } -publishing { - publications { - create("release") { - groupId = "com.github.LeandroLCD" - artifactId = "Librery" - version = project.version.toString() - } - } -} - afterEvaluate { - val releaseComponent = components.findByName("release") - if (releaseComponent != null) { - publishing { - publications { - val pub = getByName("release") as MavenPublication - pub.from(releaseComponent) + publishing { + publications { + create("release") { + groupId = "com.github.LeandroLCD" + artifactId = "Librery" + version = project.version.toString() + + val releaseComponent = components.findByName("release") + if (releaseComponent != null) { + from(releaseComponent) + } else { + logger.warn("Android 'release' component not found; maven publication won't include component artifacts.") + } } } - } else { - logger.warn("Android 'release' component not found; maven publication won't include component artifacts.") } } tasks.withType { diff --git a/gradle.properties b/gradle.properties index 87e48fd..9d5b3e0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -21,4 +21,5 @@ kotlin.code.style=official # Enables namespacing of each library's R class so that its R class includes only the # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file +android.nonTransitiveRClass=true +org.gradle.configuration-cache=true \ No newline at end of file From f4f32b28407bd08ac2f934b476be87a02418eabe Mon Sep 17 00:00:00 2001 From: Leandro Colmenarez Diaz Date: Sun, 15 Feb 2026 12:19:02 -0300 Subject: [PATCH 3/3] Chore: Remove unused import from build.gradle.kts --- Library/build.gradle.kts | 1 - gradlew | 0 2 files changed, 1 deletion(-) mode change 100644 => 100755 gradlew diff --git a/Library/build.gradle.kts b/Library/build.gradle.kts index 9a3dbb5..dcd5e46 100644 --- a/Library/build.gradle.kts +++ b/Library/build.gradle.kts @@ -1,4 +1,3 @@ -import com.android.build.gradle.internal.crash.afterEvaluate import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.gradle.api.tasks.testing.logging.TestLogEvent import org.jetbrains.kotlin.gradle.dsl.JvmTarget diff --git a/gradlew b/gradlew old mode 100644 new mode 100755