Skip to content

Commit

Permalink
[Oztechan/CCC#2004] Remove deprecated targetSdk
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Feb 13, 2023
1 parent 395f0f9 commit 7e0520a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion basemob/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ plugins {
@Suppress("UnstableApiUsage")
android {
namespace = "com.github.submob.basemob"
compileSdk = ProjectSettings.COMPILE_SDK_VERSION

ProjectSettings.apply {
compileSdk = COMPILE_SDK_VERSION
defaultConfig.minSdk = MIN_SDK_VERSION
}

buildFeatures {
viewBinding = true
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ProjectSettings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import java.io.ByteArrayOutputStream

object ProjectSettings {
const val COMPILE_SDK_VERSION = 31
const val MIN_SDK_VERSION = 21
const val MIN_SDK_VERSION = 14
const val TARGET_SDK_VERSION = 31

private const val MAYOR_VERSION = 2
Expand Down

0 comments on commit 7e0520a

Please sign in to comment.