Skip to content

Commit

Permalink
Update kotlin/gradle version
Browse files Browse the repository at this point in the history
  • Loading branch information
albinowax committed Mar 14, 2019
1 parent 1ae63fa commit 6f74704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ apply plugin: 'kotlin'
sourceCompatibility = 1.8

buildscript {
ext.kotlin_version = '1.1.4'

repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
}
}

Expand All @@ -33,7 +32,7 @@ sourceSets {
}

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-stdlib:1.3.21"
compile 'net.portswigger.burp.extender:burp-extender-api:1.7.22'
compile 'org.python:jython-standalone:2.7.0'
}
Expand Down
2 changes: 1 addition & 1 deletion src/Request.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ open class Request(val template: String, val words: List<String?>, val learnBori
return 0
}
try {
return Integer.parseInt(response?.split(delimiters = " ", ignoreCase = false, limit = 3)?.get(1))
return Integer.parseInt(response?.split(" ", ignoreCase = false, limit = 3)?.get(1))
} catch (e: Exception) {
return 0
}
Expand Down

0 comments on commit 6f74704

Please sign in to comment.