Skip to content

Commit

Permalink
[android][all] Migrate version gradle plugin to 7
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-efremov committed Sep 16, 2021
1 parent 4ee53a3 commit 996b859
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions X2tConverter/build/Android/libx2t/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ plugins {

android {

buildToolsVersion("30.0.3")
compileSdkVersion(30)
buildToolsVersion = AppDependency.BUILD_TOOLS_VERSION
compileSdk = AppDependency.COMPILE_SDK_VERSION
ndkVersion = rootProject.extra.get("NDK_VERSION").toString()

defaultConfig {

minSdkVersion(23)
targetSdkVersion(30)
versionCode = 1
versionName = "1.0"
minSdk = AppDependency.MIN_SDK_VERSION
targetSdk = AppDependency.TARGET_SDK_VERSION


buildConfigField("String", "LIB_X2T", "\"${extra.get("NAME_LIB")}\"")
Expand All @@ -41,14 +38,12 @@ android {
}

buildTypes {
getByName(AppDependency.BuildType.RELEASE) {
minifyEnabled(false)
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}

getByName(AppDependency.BuildType.DEBUG) {
debuggable(true)
jniDebuggable(true)
debug {
isJniDebuggable = true
}
}

Expand Down

0 comments on commit 996b859

Please sign in to comment.