diff --git a/helperlib/build.gradle b/helperlib/build.gradle index 7f3d69b..f73aed8 100644 --- a/helperlib/build.gradle +++ b/helperlib/build.gradle @@ -2,14 +2,14 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - compileSdkVersion 31 - buildToolsVersion "31.0.0" + compileSdkVersion 32 + buildToolsVersion "32.0.0" defaultConfig { minSdkVersion 16 - targetSdkVersion 31 - versionCode 152 - versionName "1.3.5" + targetSdkVersion 32 + versionCode 153 + versionName "1.3.6" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/helperlib/src/main/java/com/itachi1706/helperlib/concurrent/CoroutineAsyncTask.kt b/helperlib/src/main/java/com/itachi1706/helperlib/concurrent/CoroutineAsyncTask.kt index 0ee949a..5e92f65 100644 --- a/helperlib/src/main/java/com/itachi1706/helperlib/concurrent/CoroutineAsyncTask.kt +++ b/helperlib/src/main/java/com/itachi1706/helperlib/concurrent/CoroutineAsyncTask.kt @@ -2,7 +2,6 @@ package com.itachi1706.helperlib.concurrent -import android.content.Context import com.itachi1706.helperlib.concurrent.Constants.Status import com.itachi1706.helperlib.helpers.LogHelper import kotlinx.coroutines.* @@ -11,7 +10,7 @@ import java.util.concurrent.Executors /** * Replacement of AsyncTask in Kotlin Coroutine format */ -abstract class CoroutineAsyncTask(val taskName: String, val context: Context) { +abstract class CoroutineAsyncTask(val taskName: String) { private val logTAG by lazy { CoroutineAsyncTask::class.java.simpleName