project: upgrade gradle and kotlin
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user