Skip to content

Commit

Permalink
chore: Update to 1.3.9
Browse files Browse the repository at this point in the history
Supressed some warnings
Also compiling against SDK 33

Took 10 minutes
  • Loading branch information
itachi1706 committed Dec 17, 2022
1 parent 66f27a6 commit 7ac2f7d
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
maven {url "https://plugins.gradle.org/m2/"}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle:7.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Oct 10 13:03:35 SGT 2021
#Sat Dec 17 23:36:51 SGT 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
8 changes: 4 additions & 4 deletions helperlib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 32
buildToolsVersion "32.0.0"
compileSdk 33
buildToolsVersion '33.0.1'

defaultConfig {
minSdkVersion 16
targetSdkVersion 32
versionCode 191
versionName "1.3.8"
versionCode 192
versionName "1.3.9"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.itachi1706.helperlib.concurrent

@Suppress("unused")
class Constants {
enum class Status {
PENDING,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import android.text.Spanned
* Created by Kenneth on 30/12/2019.
* for com.itachi1706.helperlib.deprecation in Helper Library
*/
@Suppress("DEPRECATION")
@Suppress("DEPRECATION", "unused")
object HtmlDep {
@JvmStatic
fun fromHtml(source: String): Spanned {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import android.os.StatFs
* Created by Kenneth on 30/12/2019.
* for com.itachi1706.helperlib.deprecation in Helper Library
*/
@Suppress("DEPRECATION")
@Suppress("DEPRECATION", "unused")
object StatFsDep {
@JvmStatic
fun getBlockSize(statFs: StatFs): Long {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import android.widget.TextView
* Created by Kenneth on 30/12/2019.
* for com.itachi1706.helperlib.deprecation in Helper Library
*/
@Suppress("DEPRECATION")
@Suppress("DEPRECATION", "unused")
object TextViewDep {
@JvmStatic
fun setTextAppearance(textView: TextView, context: Context?, resId: Int) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import androidx.annotation.RequiresApi
* for com.itachi1706.helperlib.helpers in Helper Library
* NOTE: Requires android.permission.ACCESS_NETWORK_STATE permission
*/
@Suppress("unused")
object ConnectivityHelper {
const val NO_CONNECTION = -1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import com.itachi1706.helperlib.interfaces.LogHandler
* Created by Kenneth on 15/1/2020.
* for com.itachi1706.helperlib.helpers in Helper Library
*/
@Suppress("unused")
object LogHelper {

private var externalLog: LogHandler? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import androidx.preference.PreferenceManager
* Created by Kenneth on 30/12/2019.
* for com.itachi1706.helperlib.helpers in Helper Library
*/
@Suppress("unused")
object PrefHelper {
/**
* Wrapper to [PreferenceManager.getDefaultSharedPreferences] without invoking StrictMode Disk Read Policy Violation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import javax.net.ssl.SSLException
* @property timeout Int
* @constructor Construct URLHelper with a URL object
*/
@Suppress("unused")
class URLHelper(url: URL) {

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import kotlin.collections.ArrayList
* Created by Kenneth on 30/12/2019.
* for com.itachi1706.helperlib.helpers in Helper Library
*/
@Suppress("unused")
object ValidationHelper {

const val SIDELOAD = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import androidx.vectordrawable.graphics.drawable.VectorDrawableCompat
* Created by Kenneth on 30/12/2019.
* for com.itachi1706.helperlib.helpers in Helper Library
*/
@Suppress("unused")
object BitmapUtil {
@JvmStatic
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import androidx.annotation.AttrRes
* Created by Kenneth on 30/12/2019.
* for com.itachi1706.helperlib.utils in Helper Library
*/
@Suppress("unused")
object ColorUtil {
@JvmStatic
fun resolveColor(context: Context, @AttrRes attr: Int): Int {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import com.itachi1706.helperlib.R
* Created by Kenneth on 30/12/2019.
* for com.itachi1706.helperlib.utils in Helper Library
*/
@Suppress("unused")
object NotifyUserUtil {
/**
* Creates a short dismissible snackbar popup
Expand Down

0 comments on commit 7ac2f7d

Please sign in to comment.