diff --git a/README.md b/README.md
index aecaa80..8360fcf 100755
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
-
+
@@ -17,7 +17,7 @@
```gradle
dependencies {
- implementation 'com.github.cioccarellia:ksprefs:2.4.0'
+ implementation 'com.github.cioccarellia:ksprefs:2.4.1'
}
```
@@ -26,7 +26,7 @@ dependencies {
```gradle
dependencies {
- implementation("com.github.cioccarellia:ksprefs:2.4.0")
+ implementation("com.github.cioccarellia:ksprefs:2.4.1")
}
```
@@ -37,18 +37,18 @@ dependencies {
com.github.cioccarellia
ksprefs
- 2.4.0
+ 2.4.1
pom
```
-- โก๏ธ Powerful SharedPreferences wrapper & API.
-- ๐ Easy to pick up & use right away.
-- ๐งช Tested and production-ready.
-- โ๏ธ Fully customizable behaviour.
-- ๐ Built-in cryptography & decoding engines (PlainText, Base64, AES-CBC, AES-ECB, Android KeyStore + AES-GCM / RSA KeyPair).
-- ๐ Extensive type & enum support.
+- Powerful SharedPreferences wrapper & API.
+- Easy to pick up & use right away.
+- Tested and production-ready.
+- Fully customizable behaviour.
+- Built-in cryptography & decoding engines (PlainText, Base64, AES-CBC, AES-ECB, Android KeyStore + AES-GCM / RSA KeyPair).
+- Extensive type & enum support.
```kotlin
val prefs = KsPrefs(applicationContext)
diff --git a/assemble.sh b/assemble.sh
new file mode 100644
index 0000000..818710c
--- /dev/null
+++ b/assemble.sh
@@ -0,0 +1,17 @@
+##
+# Designed and developed by Andrea Cioccarelli (@cioccarellia)
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+./gradlew library:assembleRelease --warning-mode all
\ No newline at end of file
diff --git a/assemble_and_publish.sh b/assemble_and_publish.sh
new file mode 100644
index 0000000..965ccb5
--- /dev/null
+++ b/assemble_and_publish.sh
@@ -0,0 +1,18 @@
+##
+# Designed and developed by Andrea Cioccarelli (@cioccarellia)
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+
+./gradlew library:assembleRelease --warning-mode all && ./gradlew library:publishReleasePublicationToSonatypeRepository
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 0e7ab43..af2d53f 100755
--- a/build.gradle
+++ b/build.gradle
@@ -20,7 +20,7 @@ apply from: rootProject.file("gradle/versions_plugin_config.gradle")
apply plugin: "io.codearte.nexus-staging"
buildscript {
- ext.kotlin_version = "1.9.20"
+ ext.kotlin_version = "1.9.22"
repositories {
google()
diff --git a/docs/pages/overview/dependencies_integration.md b/docs/pages/overview/dependencies_integration.md
index 574ba71..364bb3b 100644
--- a/docs/pages/overview/dependencies_integration.md
+++ b/docs/pages/overview/dependencies_integration.md
@@ -26,7 +26,7 @@ repositories {
``` java
dependencies {
- implementation "com.github.cioccarellia:ksprefs:2.4.0"
+ implementation "com.github.cioccarellia:ksprefs:2.4.1"
}
```
@@ -34,7 +34,7 @@ repositories {
``` kotlin
dependencies {
- implementation("com.github.cioccarellia:ksprefs:2.4.0")
+ implementation("com.github.cioccarellia:ksprefs:2.4.1")
}
```
@@ -44,7 +44,7 @@ repositories {
com.github.cioccarellia
ksprefs
- 2.4.0
+ 2.4.1
pom
```
diff --git a/gradle.properties b/gradle.properties
index 1f2268c..c566095 100755
--- a/gradle.properties
+++ b/gradle.properties
@@ -19,7 +19,11 @@ android.useAndroidX=true
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
+
+# todo remove
android.defaults.buildfeatures.buildconfig=true
+
+
android.nonTransitiveRClass=false
android.nonFinalResIds=false
org.gradle.configuration-cache=true
\ No newline at end of file
diff --git a/library/build.gradle b/library/build.gradle
index 71a5545..b2580f0 100755
--- a/library/build.gradle
+++ b/library/build.gradle
@@ -29,7 +29,7 @@ ext {
apply from: rootProject.file("gradle/android_library_config.gradle")
dependencies {
- implementation "androidx.annotation:annotation:1.6.0"
+ implementation "androidx.annotation:annotation:1.7.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlin_version}"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3"
@@ -37,9 +37,9 @@ dependencies {
testImplementation "junit:junit:4.13.2"
testImplementation "androidx.test:core:1.5.0"
- testImplementation "org.mockito:mockito-core:5.5.0"
- testImplementation "org.robolectric:robolectric:4.10.3"
- testImplementation "com.google.truth:truth:1.1.5"
+ testImplementation "org.mockito:mockito-core:5.10.0"
+ testImplementation "org.robolectric:robolectric:4.11.1"
+ testImplementation "com.google.truth:truth:1.4.0"
}
android {
diff --git a/library_info.gradle b/library_info.gradle
index 03e0591..65a8cf4 100755
--- a/library_info.gradle
+++ b/library_info.gradle
@@ -16,13 +16,13 @@
ext.library = [
min_sdk : 19,
- compile_sdk : 33,
+ compile_sdk : 34,
artifact : "ksprefs",
publish_group : "com.github.cioccarellia",
- publish_version : "2.4.0",
- publish_version_code: 240,
+ publish_version : "2.4.1",
+ publish_version_code: 241,
description : "Kotlin SharedPreferences, Simplified",
website : "https://github.com/cioccarellia/ksprefs"
diff --git a/test/build.gradle b/test/build.gradle
index d866a90..7a55faa 100755
--- a/test/build.gradle
+++ b/test/build.gradle
@@ -39,7 +39,7 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation "androidx.appcompat:appcompat:1.6.1"
- implementation "com.google.android.material:material:1.9.0"
+ implementation "com.google.android.material:material:1.11.0"
implementation "com.android.support.constraint:constraint-layout:2.0.4"
}