Skip to content

Commit 1b82b16

Browse files
committed
project: upgrade gradle and kotlin
1 parent 9f41114 commit 1b82b16

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

NeoLang/src/main/java/io/neolang/runtime/type/NeoLangValue.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class NeoLangValue(private val rawValue: Any) {
1515

1616
try {
1717
return rawValue.toString().toDouble()
18-
} catch (e: NumberFormatException) {
18+
} catch (e: Throwable) {
1919
return 0.0
2020
}
2121
}

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ buildscript {
2424
ext.android = [
2525
ANDROID_SUPPORT_VERSION: '27.0.2',
2626

27-
KOTLIN_VERSION : '1.2.30',
27+
KOTLIN_VERSION : '1.2.51',
2828

2929
MIN_SDK_VERSION : 21,
3030

@@ -54,7 +54,7 @@ buildscript {
5454
google()
5555
}
5656
dependencies {
57-
classpath 'com.android.tools.build:gradle:3.1.3'
57+
classpath 'com.android.tools.build:gradle:3.2.1'
5858
classpath rootProject.ext.deps["kotlin-gradle-plugin"]
5959

6060
// NOTE: Do not place your application dependencies here; they belong
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Apr 01 00:43:41 CST 2018
1+
#Thu Nov 08 23:25:07 CST 2018
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip

0 commit comments

Comments
 (0)