mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-04 17:55:36 +08:00
move sdk version configs to gradle.properties (#1685)
This commit is contained in:
@@ -3,8 +3,8 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 28
|
compileSdkVersion project.properties.compileSdkVersion.toInteger()
|
||||||
ndkVersion '21.3.6528147'
|
ndkVersion project.properties.ndkVersion
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "androidx.annotation:annotation:1.1.0"
|
implementation "androidx.annotation:annotation:1.1.0"
|
||||||
@@ -15,8 +15,8 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.termux"
|
applicationId "com.termux"
|
||||||
minSdkVersion 24
|
minSdkVersion project.properties.minSdkVersion.toInteger()
|
||||||
targetSdkVersion 28
|
targetSdkVersion project.properties.targetSdkVersion.toInteger()
|
||||||
versionCode 96
|
versionCode 96
|
||||||
versionName "0.96"
|
versionName "0.96"
|
||||||
|
|
||||||
|
@@ -14,3 +14,8 @@
|
|||||||
# org.gradle.parallel=true
|
# org.gradle.parallel=true
|
||||||
org.gradle.jvmargs=-Xmx2048M
|
org.gradle.jvmargs=-Xmx2048M
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
|
|
||||||
|
minSdkVersion=24
|
||||||
|
targetSdkVersion=28
|
||||||
|
ndkVersion=21.3.6528147
|
||||||
|
compileSdkVersion=28
|
||||||
|
@@ -17,12 +17,12 @@ ext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 28
|
compileSdkVersion project.properties.compileSdkVersion.toInteger()
|
||||||
ndkVersion '21.3.6528147'
|
ndkVersion project.properties.ndkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 21
|
minSdkVersion project.properties.minSdkVersion.toInteger()
|
||||||
targetSdkVersion 28
|
targetSdkVersion project.properties.targetSdkVersion.toInteger()
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
ndkBuild {
|
ndkBuild {
|
||||||
|
@@ -17,7 +17,7 @@ ext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 28
|
compileSdkVersion project.properties.compileSdkVersion.toInteger()
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "androidx.annotation:annotation:1.1.0"
|
implementation "androidx.annotation:annotation:1.1.0"
|
||||||
@@ -25,8 +25,8 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 21
|
minSdkVersion project.properties.minSdkVersion.toInteger()
|
||||||
targetSdkVersion 28
|
targetSdkVersion project.properties.targetSdkVersion.toInteger()
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user