Skip to content

Commit

Permalink
Update dependencies and apply minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jahirfiquitiva committed Nov 8, 2020
1 parent 5e4aabc commit a067c5f
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 12 deletions.
9 changes: 9 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions buildSrc/src/main/java/Blueprint.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

object Blueprint {
const val appId = "dev.jahir.blueprint.app"
const val version = 213
const val versionName = "2.1.3"
const val version = 214
const val versionName = "2.1.4"
}
10 changes: 5 additions & 5 deletions buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

object Versions {
// Plugins
const val gradle = "4.0.1"
const val kotlin = "1.4.0"
const val gradle = "4.1.0"
const val kotlin = "1.4.10"
const val jitpack = "2.1"

// OneSignal
const val oneSignalPlugin = "0.12.8"
const val oneSignal = "3.15.2"
const val oneSignalPlugin = "0.12.9"
const val oneSignal = "3.15.4"

// App
const val minSdk = 21
const val targetSdk = 30
const val buildTools = "29.0.3"

// Kuper
const val kuper = "2.2.3"
const val kuper = "2.2.4"

// Adaptive Icons
const val adaptiveIcons = "a0884c7"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import dev.jahir.frames.extensions.resources.hasContent
@DrawableRes
fun Context.getAppIconResId(pkg: String): Int = getAppInfo(pkg)?.icon ?: 0

@Suppress("USELESS_ELVIS")
fun Context.getAppIcon(pkg: String): Drawable? {
if (!pkg.hasContent()) return null
return try {
Expand Down Expand Up @@ -64,4 +65,4 @@ private fun Context.getResources(ai: ApplicationInfo): Resources? {
} catch (e: Exception) {
null
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("DEPRECATION")

package dev.jahir.blueprint.extensions

import android.annotation.SuppressLint
Expand Down Expand Up @@ -78,4 +80,4 @@ internal fun Context.getThemeAttributeDimensionSize(@AttrRes attr: Int): Int {
} finally {
a?.recycle()
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import android.view.View
import android.widget.TextView
import androidx.appcompat.widget.AppCompatImageView
import androidx.recyclerview.widget.RecyclerView
import coil.api.load
import coil.load
import dev.jahir.blueprint.R
import dev.jahir.blueprint.data.models.Launcher
import dev.jahir.blueprint.extensions.bnwFilter
Expand Down Expand Up @@ -39,4 +39,4 @@ class LauncherViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
}
itemView.setOnClickListener { onClick?.invoke(launcher, isInstalled) }
}
}
}

0 comments on commit a067c5f

Please sign in to comment.