From 8a78af1266e35e92d68d708a76fd0c22848bad57 Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 24 Feb 2022 14:07:36 +0300 Subject: [PATCH] release version 1.4.0 with kotlin 1.6.10 coroutines-android 1.6.0 --- buildSrc/src/main/kotlin/appdependencies/Builds.kt | 2 +- buildSrc/src/main/kotlin/appdependencies/Versions.kt | 6 +++--- .../com/rasalexman/coroutinesmanager/AsyncTasksManager.kt | 2 +- .../com/rasalexman/coroutinesmanager/CoroutineUtils.kt | 2 +- .../com/rasalexman/coroutinesmanager/CoroutinesManager.kt | 2 +- .../com/rasalexman/coroutinesmanager/IAsyncTasksManager.kt | 4 ++-- .../com/rasalexman/coroutinesmanager/ICoroutinesManager.kt | 2 ++ 7 files changed, 11 insertions(+), 9 deletions(-) diff --git a/buildSrc/src/main/kotlin/appdependencies/Builds.kt b/buildSrc/src/main/kotlin/appdependencies/Builds.kt index d760a1b..c169c44 100644 --- a/buildSrc/src/main/kotlin/appdependencies/Builds.kt +++ b/buildSrc/src/main/kotlin/appdependencies/Builds.kt @@ -13,7 +13,7 @@ object Builds { } object Manager { - const val VERSION_NAME = "1.3.9" + const val VERSION_NAME = "1.4.0" } } diff --git a/buildSrc/src/main/kotlin/appdependencies/Versions.kt b/buildSrc/src/main/kotlin/appdependencies/Versions.kt index a423487..8a0e5fc 100644 --- a/buildSrc/src/main/kotlin/appdependencies/Versions.kt +++ b/buildSrc/src/main/kotlin/appdependencies/Versions.kt @@ -2,13 +2,13 @@ package appdependencies object Versions { - const val gradle = "7.0.3" - const val kotlin = "1.6.0" + const val gradle = "7.0.4" + const val kotlin = "1.6.10" const val appcompat = "1.3.1" const val appCoreX = "1.6.0" const val constraintLayout = "2.1.0" - const val kotlinCoroutinesVersion = "1.6.0-RC" + const val kotlinCoroutinesVersion = "1.6.0" /* test */ const val junit = "4.13" diff --git a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/AsyncTasksManager.kt b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/AsyncTasksManager.kt index e8318e7..318b602 100644 --- a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/AsyncTasksManager.kt +++ b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/AsyncTasksManager.kt @@ -15,7 +15,7 @@ AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABL DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - +@file:Suppress("unused") package com.rasalexman.coroutinesmanager import kotlinx.coroutines.Job diff --git a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/CoroutineUtils.kt b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/CoroutineUtils.kt index 24c413b..eee1b01 100644 --- a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/CoroutineUtils.kt +++ b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/CoroutineUtils.kt @@ -16,7 +16,7 @@ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -@file:Suppress("SuspendFunctionOnCoroutineScope") +@file:Suppress("SuspendFunctionOnCoroutineScope", "unused") package com.rasalexman.coroutinesmanager diff --git a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/CoroutinesManager.kt b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/CoroutinesManager.kt index aa352a3..70d0728 100644 --- a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/CoroutinesManager.kt +++ b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/CoroutinesManager.kt @@ -15,7 +15,7 @@ AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABL DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - +@file:Suppress("unused") package com.rasalexman.coroutinesmanager import kotlinx.coroutines.Job diff --git a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/IAsyncTasksManager.kt b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/IAsyncTasksManager.kt index 80ee834..b702b5a 100644 --- a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/IAsyncTasksManager.kt +++ b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/IAsyncTasksManager.kt @@ -16,7 +16,7 @@ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -@file:Suppress("SuspendFunctionOnCoroutineScope") +@file:Suppress("SuspendFunctionOnCoroutineScope", "unused") package com.rasalexman.coroutinesmanager @@ -293,7 +293,7 @@ suspend fun IAsyncTasksManager.doTryFinallyAsync( /** * Doing some async work with tryFinally block. If there is an error occurs * It will be throwed and passed into [finallyBlock] as parameter - * using withContext([com.rasalexman.coroutinesmanager.IAsyncTasksManager.asyncCoroutineContext]) + * using withContext([com.rasalexman.coroutinesmanager.IAsyncTasksManager.coroutineContext]) * * @param tryBlock - main working block * @param finallyBlock - there is a block where exception can exist as param `it:Throwable?` diff --git a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/ICoroutinesManager.kt b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/ICoroutinesManager.kt index a059b3d..6757677 100644 --- a/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/ICoroutinesManager.kt +++ b/coroutinesmanager/src/main/kotlin/com/rasalexman/coroutinesmanager/ICoroutinesManager.kt @@ -16,6 +16,8 @@ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +@file:Suppress("unused") + package com.rasalexman.coroutinesmanager import kotlinx.coroutines.*