Hello people, is there a way to have special chara...
# multiplatform
d
Hello people, is there a way to have special characters, in tests, in a KMP module with an Android variant? I have a module with various Unit Tests with backticks names ``like this`` , and after adding
android()
variant, I cannot build because of
com.android.tools.r8.internal.Jc: Space characters in SimpleName ‘handles ConnectException’ are not allowed prior to DEX version 040
This seems a bit awkward as Jvm Android modules can contain tests with backticks ( except instrumented tests ) Is there a solution/workaround? I could disable test
androidTest
if that would solve it ( how? ) as 99% of the code in the main source set
j
Either set your minSdk high enough (28? 29? I forget) or rename the tests. You certainly don't need spaces.
Looks like 30 would be the minSdk according to my old tweets
d
Ouch, a bit too high; it looks like I have no choice but rename everything! Thanks
259 Views