project: upgrade gradle and kotlin

This commit is contained in:
imkiva
2018-11-08 23:31:34 +08:00
parent 9f41114594
commit 1b82b165f1
3 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ class NeoLangValue(private val rawValue: Any) {
try { try {
return rawValue.toString().toDouble() return rawValue.toString().toDouble()
} catch (e: NumberFormatException) { } catch (e: Throwable) {
return 0.0 return 0.0
} }
} }

View File

@ -24,7 +24,7 @@ buildscript {
ext.android = [ ext.android = [
ANDROID_SUPPORT_VERSION: '27.0.2', ANDROID_SUPPORT_VERSION: '27.0.2',
KOTLIN_VERSION : '1.2.30', KOTLIN_VERSION : '1.2.51',
MIN_SDK_VERSION : 21, MIN_SDK_VERSION : 21,
@ -54,7 +54,7 @@ buildscript {
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.1.3' classpath 'com.android.tools.build:gradle:3.2.1'
classpath rootProject.ext.deps["kotlin-gradle-plugin"] classpath rootProject.ext.deps["kotlin-gradle-plugin"]
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong

View File

@ -1,6 +1,6 @@
#Sun Apr 01 00:43:41 CST 2018 #Thu Nov 08 23:25:07 CST 2018
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-4.4-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip