Skip to content

Commit

Permalink
chore: target API level 35
Browse files Browse the repository at this point in the history
  • Loading branch information
wax911 committed Nov 20, 2024
1 parent 192976e commit c6d2abd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AppInfo(context: Context) : IAppInfo {
val packageManager = context.packageManager
val packageName = context.packageName
val packageInfo = packageManager.getPackageInfo(packageName, 0)
return packageInfo.versionName
return packageInfo.versionName ?: "none"
}

private fun installationSource(context: Context): String {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ private fun Project.configureLint() = baseAppExtension().run {
}

internal fun Project.configureAndroid(): Unit = baseExtension().run {
compileSdkVersion(34)
compileSdkVersion(35)
defaultConfig {
minSdk = 23
targetSdk = 34
targetSdk = 35
versionCode = props[PropertyTypes.CODE].toInt()
versionName = props[PropertyTypes.VERSION]
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down

0 comments on commit c6d2abd

Please sign in to comment.