Skip to content

Commit

Permalink
icerockdev#4: multidex added
Browse files Browse the repository at this point in the history
  • Loading branch information
y9san9 committed Aug 5, 2021
1 parent ffb1d8e commit b9848be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ klockVersion = "2.2.2"
ktorClientVersion = "1.6.1"
mokoTestVersion = "0.4.0"
mokoWeb3Version = "0.3.0"
multidexVersion = "1.0.3"

[libraries]
appCompat = { module = "androidx.appcompat:appcompat", version.ref = "androidAppCompatVersion" }
Expand All @@ -36,4 +37,5 @@ klock = { module = "com.soywiz.korlibs.klock:klock", version.ref = "klockVersion
kotlinTestCommon = { module = "org.jetbrains.kotlin:kotlin-test-common", version.ref = "kotlinVersion" }
kotlinTestAnnotations = { module = "org.jetbrains.kotlin:kotlin-test-annotations-common", version.ref = "kotlinVersion" }
kotlinTest = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlinVersion" }
kotlinTestJunit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlinVersion" }
kotlinTestJunit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlinVersion" }
multidex = { module = "androidx.multidex:multidex", version.ref = "multidexVersion" }
4 changes: 4 additions & 0 deletions web3/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ plugins {
}

android {
defaultConfig {
multiDexEnabled = true
}
testOptions {
unitTests.isReturnDefaultValues = true
}
Expand All @@ -31,6 +34,7 @@ dependencies {
androidTestImplementation(libs.ktorClientOkHttp)
androidTestImplementation(libs.kotlinTest)
androidTestImplementation(libs.kotlinTestJunit)
androidMainImplementation(libs.multidex)

iosMainImplementation(libs.ktorClientIos)
iosTestImplementation(libs.ktorClientIos)
Expand Down

0 comments on commit b9848be

Please sign in to comment.