diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1a29e24..80eca66 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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" } @@ -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" } \ No newline at end of file +kotlinTestJunit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlinVersion" } +multidex = { module = "androidx.multidex:multidex", version.ref = "multidexVersion" } \ No newline at end of file diff --git a/web3/build.gradle.kts b/web3/build.gradle.kts index 3dacd02..371525f 100644 --- a/web3/build.gradle.kts +++ b/web3/build.gradle.kts @@ -10,6 +10,9 @@ plugins { } android { + defaultConfig { + multiDexEnabled = true + } testOptions { unitTests.isReturnDefaultValues = true } @@ -31,6 +34,7 @@ dependencies { androidTestImplementation(libs.ktorClientOkHttp) androidTestImplementation(libs.kotlinTest) androidTestImplementation(libs.kotlinTestJunit) + androidMainImplementation(libs.multidex) iosMainImplementation(libs.ktorClientIos) iosTestImplementation(libs.ktorClientIos)