From 840e750bb7ed387060f5e88b68251b41db59bc8e Mon Sep 17 00:00:00 2001 From: Ahmed Mourad Date: Thu, 15 Feb 2024 16:03:12 +0200 Subject: [PATCH] Preparing for release 0.8.0 --- CHANGELOG.md | 11 +++++++++++ README.md | 3 +-- build.gradle | 6 +++--- core/build.gradle | 16 ++++++++++++---- gradle.properties | 3 +-- gradle/wrapper/gradle-wrapper.properties | 2 +- 6 files changed, 29 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b38b980..59fea5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ Changelog ========= +0.8.0 +----- + +_2024-02-15_ + +- Upgraded to Kotlinx-Serialization 1.6.2 +- Upgraded to Kotlin 1.9.22 +- Upgraded to Android Gradle Plugin 8.2.2 +- Upgraded to Gradle 8.2 +- Upgraded to Java 19 JVM target + 0.7.0 ----- diff --git a/README.md b/README.md index 801c46e..d781514 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ repositories { } dependencies { - implementation "dev.ahmedmourad.bundlizer:bundlizer-core:0.7.0" + implementation "dev.ahmedmourad.bundlizer:bundlizer-core:0.8.0" } ``` @@ -92,4 +92,3 @@ License limitations under the License. [snapshots]: https://oss.sonatype.org/content/repositories/snapshots/ - diff --git a/build.gradle b/build.gradle index fa45d1d..f0c5851 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,14 @@ buildscript { ext { - kotlin_version = "1.6.20" - maven_publish_plugin_version = "0.19.0" + kotlin_version = "1.9.22" + maven_publish_plugin_version = "0.27.0" } repositories { mavenCentral() google() } dependencies { - classpath 'com.android.tools.build:gradle:7.1.3' + classpath "com.android.tools.build:gradle:8.2.2" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" classpath "com.vanniktech:gradle-maven-publish-plugin:$maven_publish_plugin_version" diff --git a/core/build.gradle b/core/build.gradle index d746d5f..f501451 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -4,12 +4,13 @@ apply plugin: "kotlinx-serialization" apply plugin: "com.vanniktech.maven.publish" android { - compileSdkVersion 32 + compileSdk 34 defaultConfig { minSdkVersion 16 - targetSdkVersion 32 + targetSdkVersion 34 versionCode 1 versionName "1.0" + namespace "dev.ahmedmourad.bundlizer" } buildTypes { release { @@ -22,11 +23,18 @@ android { includeAndroidResources = true } } + compileOptions { + sourceCompatibility JavaVersion.VERSION_19 + targetCompatibility JavaVersion.VERSION_19 + } + kotlinOptions { + jvmTarget = '19' + } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation "org.jetbrains.kotlinx:kotlinx-serialization-core:1.3.2" - testImplementation "org.robolectric:robolectric:4.3.1" + implementation "org.jetbrains.kotlinx:kotlinx-serialization-core:1.6.2" + testImplementation "org.robolectric:robolectric:4.11.1" testImplementation "junit:junit:4.13.2" } diff --git a/gradle.properties b/gradle.properties index a04cff0..61dea35 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,7 +20,7 @@ android.enableJetifier=true # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official GROUP=dev.ahmedmourad.bundlizer -VERSION_NAME=0.7.0 +VERSION_NAME=0.8.0 POM_DESCRIPTION=Android Bundle format support for Kotlinx Serialization. POM_URL=https://github.com/AhmedMourad0/bundlizer/ POM_SCM_URL=https://github.com/AhmedMourad0/bundlizer/ @@ -32,4 +32,3 @@ POM_LICENCE_DIST=repo POM_DEVELOPER_ID=AhmedMourad POM_DEVELOPER_NAME=Ahmed Mourad POM_DEVELOPER_URL=https://www.ahmedmourad.dev - diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8429d8a..2f20b61 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Fri Apr 08 02:59:57 EET 2022 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME