Update gradle files to Android Studio 3.0 defaults.

This commit is contained in:
Henrik Rydgård 2017-10-26 10:48:41 +02:00
parent 7b1e1cd5e0
commit a33daa4985
4 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@
<uses-sdk <uses-sdk
android:minSdkVersion="9" android:minSdkVersion="9"
android:targetSdkVersion="25" /> android:targetSdkVersion="26" />
<uses-feature android:glEsVersion="0x00020000" /> <uses-feature android:glEsVersion="0x00020000" />
<uses-feature android:name="android.hardware.screen.landscape" android:required="false" /> <uses-feature android:name="android.hardware.screen.landscape" android:required="false" />

View File

@ -35,8 +35,8 @@ android {
} }
} }
} }
compileSdkVersion 25 compileSdkVersion 26
buildToolsVersion '25.0.0' buildToolsVersion '27.0.0'
defaultConfig { defaultConfig {
applicationId 'org.ppsspp.ppsspp' applicationId 'org.ppsspp.ppsspp'
if (androidGitVersion.name() != "unknown" && androidGitVersion.code() >= 14000000) { if (androidGitVersion.name() != "unknown" && androidGitVersion.code() >= 14000000) {
@ -52,7 +52,7 @@ android {
new File("versioncode.txt").write(androidGitVersion.code().toString()) new File("versioncode.txt").write(androidGitVersion.code().toString())
minSdkVersion 9 minSdkVersion 9
targetSdkVersion 25 targetSdkVersion 26
if (project.hasProperty("ANDROID_VERSION_CODE") && project.hasProperty("ANDROID_VERSION_NAME")) { if (project.hasProperty("ANDROID_VERSION_CODE") && project.hasProperty("ANDROID_VERSION_NAME")) {
versionCode ANDROID_VERSION_CODE versionCode ANDROID_VERSION_CODE
versionName ANDROID_VERSION_NAME versionName ANDROID_VERSION_NAME

View File

@ -4,7 +4,7 @@ buildscript {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:3.0.0'
} }
} }

View File

@ -1,6 +1,6 @@
#Mon Mar 13 14:55:51 CET 2017 #Thu Oct 26 10:42:05 CEST 2017
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip