Update sdk version to Android O
This commit is contained in:
parent
5cc70e2b48
commit
fb74ab8377
6 changed files with 13 additions and 13 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="16"
|
android:minSdkVersion="16"
|
||||||
android:targetSdkVersion="25"/>
|
android:targetSdkVersion="26"/>
|
||||||
|
|
||||||
<!-- Permissions for Push Notification -->
|
<!-- Permissions for Push Notification -->
|
||||||
<!-- <uses-permission android:name="org.linphone.permission.C2D_MESSAGE"/> GCM permission -->
|
<!-- <uses-permission android:name="org.linphone.permission.C2D_MESSAGE"/> GCM permission -->
|
||||||
|
|
|
@ -84,8 +84,8 @@ excludePackage.add('**/LICENSE.txt')
|
||||||
|
|
||||||
android {
|
android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 26
|
||||||
buildToolsVersion "25.0.2"
|
buildToolsVersion "26.0.0"
|
||||||
applicationId getPackageName()
|
applicationId getPackageName()
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ android {
|
||||||
// Grant permissions
|
// Grant permissions
|
||||||
android.applicationVariants.all { variant ->
|
android.applicationVariants.all { variant ->
|
||||||
def applicationId = getPackageName()
|
def applicationId = getPackageName()
|
||||||
def adb = android.getAdbExe().toString()
|
def adb = android.getAdbExecutable().toString()
|
||||||
def variantName = variant.name.capitalize()
|
def variantName = variant.name.capitalize()
|
||||||
def grantPermissionTask = tasks.create("grant${variantName}Permissions").doLast({
|
def grantPermissionTask = tasks.create("grant${variantName}Permissions").doLast({
|
||||||
"${adb} devices".execute().text.eachLine {
|
"${adb} devices".execute().text.eachLine {
|
||||||
|
@ -185,7 +185,7 @@ android.applicationVariants.all { variant ->
|
||||||
|
|
||||||
task runApplication() {
|
task runApplication() {
|
||||||
def result = exec {
|
def result = exec {
|
||||||
executable = android.getAdbExe().toString()
|
executable = android.getAdbExecutable().toString()
|
||||||
ignoreExitValue true
|
ignoreExitValue true
|
||||||
args = ['shell', 'monkey', '-p', getPackageName(), '-c', 'android.intent.category.LAUNCHER', '1']
|
args = ['shell', 'monkey', '-p', getPackageName(), '-c', 'android.intent.category.LAUNCHER', '1']
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,8 +46,8 @@ excludePackage.add('**/LICENSE.txt')
|
||||||
|
|
||||||
android {
|
android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 26
|
||||||
buildToolsVersion "25.0.2"
|
buildToolsVersion "26.0.0"
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="16"
|
android:minSdkVersion="16"
|
||||||
android:targetSdkVersion="23" />
|
android:targetSdkVersion="26" />
|
||||||
|
|
||||||
<instrumentation
|
<instrumentation
|
||||||
android:targetPackage="org.linphone.tester"
|
android:targetPackage="org.linphone.tester"
|
||||||
|
|
|
@ -40,8 +40,8 @@ dependencies {
|
||||||
|
|
||||||
android {
|
android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 26
|
||||||
buildToolsVersion "25.0.2"
|
buildToolsVersion "26.0.0"
|
||||||
applicationId getPackageName()
|
applicationId getPackageName()
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
}
|
}
|
||||||
|
@ -104,7 +104,7 @@ android {
|
||||||
android.applicationVariants.all { variant ->
|
android.applicationVariants.all { variant ->
|
||||||
def applicationId = getPackageName()
|
def applicationId = getPackageName()
|
||||||
def applicationIdtest = "${getPackageName()}.test"
|
def applicationIdtest = "${getPackageName()}.test"
|
||||||
def adb = android.getAdbExe().toString()
|
def adb = android.getAdbExecutable().toString()
|
||||||
def variantName = variant.name.capitalize()
|
def variantName = variant.name.capitalize()
|
||||||
def grantPermissionTask = tasks.create("grant${variantName}Permissions") << {
|
def grantPermissionTask = tasks.create("grant${variantName}Permissions") << {
|
||||||
"${adb} devices".execute().text.eachLine {
|
"${adb} devices".execute().text.eachLine {
|
||||||
|
|
|
@ -70,8 +70,8 @@ excludePackage.add('**/LICENSE.txt')
|
||||||
|
|
||||||
android {
|
android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 26
|
||||||
buildToolsVersion "25.0.2"
|
buildToolsVersion "26.0.0"
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue