build: update to Android Studio 3.1

This commit is contained in:
imkiva 2018-04-01 01:19:55 +08:00
parent 67d1040113
commit ce246c382e
4 changed files with 7 additions and 5 deletions

View File

@ -4,6 +4,7 @@ apply plugin: 'kotlin-android'
android {
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
buildToolsVersion rootProject.ext.android.BUILD_TOOL_VERSION
defaultConfig {
applicationId "io.neoterm"
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION

View File

@ -32,7 +32,7 @@ buildscript {
TARGET_SDK_VERSION : 27,
BUILD_TOOL_VERSION : '27.0.2',
BUILD_TOOL_VERSION : '27.0.3',
JUNIT_VERSION : "4.12"
]
@ -51,9 +51,10 @@ buildscript {
repositories {
maven { url 'https://dl.google.com/dl/android/maven2/' }
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.1.0'
classpath rootProject.ext.deps["kotlin-gradle-plugin"]
// NOTE: Do not place your application dependencies here; they belong

View File

@ -22,7 +22,7 @@ android {
}
dependencies {
compile 'com.github.michael-rapp:android-util:1.15.0'
implementation 'com.github.michael-rapp:android-util:1.15.0'
implementation rootProject.ext.deps["annotations"]
implementation rootProject.ext.deps["appcompat-v7"]
testImplementation rootProject.ext.deps["junit"]

View File

@ -1,6 +1,6 @@
#Sat Sep 16 12:05:30 CST 2017
#Sun Apr 01 00:43:41 CST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip