Compare commits
2 commits
abebca5079
...
adaff5ec38
Author | SHA1 | Date | |
---|---|---|---|
adaff5ec38 | |||
acaa27f20d |
3 changed files with 7 additions and 8 deletions
|
@ -34,7 +34,7 @@ def isNonStable = { String version ->
|
|||
mainClassName = packageName + '.Mobibot'
|
||||
|
||||
ext.versions = [
|
||||
log4j: '2.21.0',
|
||||
log4j: '2.21.1',
|
||||
pmd : '6.55.0',
|
||||
]
|
||||
|
||||
|
@ -76,12 +76,11 @@ dependencies {
|
|||
implementation "org.apache.logging.log4j:log4j-slf4j2-impl:$versions.log4j"
|
||||
|
||||
implementation 'com.rometools:rome:2.1.0'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
|
||||
implementation 'com.squareup.okio:okio:3.6.0'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
||||
implementation 'net.aksingh:owm-japis:2.5.3.0'
|
||||
implementation 'net.objecthunter:exp4j:0.4.8'
|
||||
implementation 'org.json:json:20231013'
|
||||
implementation 'org.jsoup:jsoup:1.16.1'
|
||||
implementation 'org.jsoup:jsoup:1.16.2'
|
||||
|
||||
// Thauvin
|
||||
implementation 'net.thauvin.erik:cryptoprice:1.0.1'
|
||||
|
|
|
@ -76,7 +76,7 @@ class CurrencyConverter : AbstractModule() {
|
|||
|
||||
if (SYMBOLS.isEmpty()) {
|
||||
event.respond(EMPTY_SYMBOLS_TABLE)
|
||||
} else if (args.matches("\\d+([,\\d]+)?(\\.\\d+)? [a-zA-Z]{3}+ to [a-zA-Z]{3}+".toRegex())) {
|
||||
} else if (args.matches("\\d+([,\\d]+)?(\\.\\d+)? [a-zA-Z]{3}+ (to|in) [a-zA-Z]{3}+".toRegex())) {
|
||||
val msg = convertCurrency(properties[API_KEY_PROP], args)
|
||||
event.respond(msg.msg)
|
||||
if (msg.isError) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#Generated by the Semver Plugin for Gradle
|
||||
#Fri Oct 13 20:37:28 PDT 2023
|
||||
version.buildmeta=20231013203728
|
||||
#Thu Oct 26 20:43:39 PDT 2023
|
||||
version.buildmeta=20231026204339
|
||||
version.major=0
|
||||
version.minor=8
|
||||
version.patch=0
|
||||
version.prerelease=rc
|
||||
version.project=mobibot
|
||||
version.semver=0.8.0-rc+20231013203728
|
||||
version.semver=0.8.0-rc+20231026204339
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue