Moved to exchangerate.host API for currency conversion

This commit is contained in:
Erik C. Thauvin 2022-07-10 13:53:32 -07:00
parent a33b8354b8
commit 070d29c7dd
7 changed files with 77 additions and 121 deletions

View file

@ -5,10 +5,10 @@ plugins {
id 'io.gitlab.arturbosch.detekt' version '1.20.0'
id 'java'
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
id 'org.jetbrains.kotlin.kapt' version '1.6.21'
id 'org.jetbrains.kotlinx.kover' version '0.5.0'
id 'org.sonarqube' version '3.3'
id 'org.jetbrains.kotlin.jvm' version '1.7.10'
id 'org.jetbrains.kotlin.kapt' version '1.7.10'
id 'org.jetbrains.kotlinx.kover' version '0.5.1'
id 'org.sonarqube' version '3.4.0.2513'
id 'pmd'
}
@ -27,8 +27,8 @@ def isNonStable = { String version ->
mainClassName = packageName + '.Mobibot'
ext.versions = [
log4j: '2.17.2',
pmd : '6.44.0',
log4j: '2.18.0',
pmd : '6.47.0',
]
repositories {
@ -59,7 +59,7 @@ dependencies {
// Kotlin
implementation platform('org.jetbrains.kotlin:kotlin-bom')
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3'
// Logging
implementation 'org.slf4j:slf4j-api:1.7.36'
@ -68,11 +68,11 @@ dependencies {
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$versions.log4j"
implementation 'com.rometools:rome:1.18.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation 'net.aksingh:owm-japis:2.5.3.0'
implementation 'net.objecthunter:exp4j:0.4.8'
implementation 'org.json:json:20220320'
implementation 'org.jsoup:jsoup:1.14.3'
implementation 'org.jsoup:jsoup:1.15.2'
implementation 'org.twitter4j:twitter4j-core:4.0.7'
implementation 'net.thauvin.erik:cryptoprice:0.9.0'
@ -81,7 +81,7 @@ dependencies {
testImplementation 'com.willowtreeapps.assertk:assertk-jvm:0.25'
// testImplementation 'org.mockito.kotlin:mockito-kotlin:4.0.0'
// testImplementation "org.mockito:mockito-core:4.0.0"
testImplementation 'org.testng:testng:7.5'
testImplementation 'org.testng:testng:7.6.1'
}
test {