kevin.cianfarini
08/13/2020, 8:12 PMcommonTest
module be able to see internal
code from commonMain
? Are they part of the same compile group?Robert Jaros
08/13/2020, 8:19 PMkevin.cianfarini
08/13/2020, 8:21 PMkevin.cianfarini
08/13/2020, 8:21 PMkevin.cianfarini
08/13/2020, 8:21 PMe: /home/kevin/code/okio/okio/src/commonTest/kotlin/okio/OkioMessageDigestTest.kt: (29, 18): Unresolved reference: Sha1MessageDigest
Robert Jaros
08/13/2020, 8:22 PMkevin.cianfarini
08/13/2020, 8:22 PMRobert Jaros
08/13/2020, 8:24 PMinternal
in main should be visible in test module.kevin.cianfarini
08/13/2020, 8:24 PMkevin.cianfarini
08/13/2020, 8:39 PMRobert Jaros
08/13/2020, 9:10 PMAlexey Belkov [JB]
08/14/2020, 4:13 PMkevin.cianfarini
08/14/2020, 4:14 PMkevin.cianfarini
08/14/2020, 5:02 PMOne more thought: I've checked project structure, dependency on commonMain is present.This is mentioned in the support thread. I checked the project out and I'm not seeing any explicit dependency on commonMain from commonTest. this is what's in the project.
commonMain {
dependencies {
implementation kotlin('stdlib-common')
}
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
I've got to be missing something. I'm running with 1.3.72 atm with this build gradle file.
https://github.com/square/okio/blob/master/okio/build.gradle
Any thoughts? @Alexey Belkov [JB]kevin.cianfarini
08/14/2020, 5:03 PMAlexey Belkov [JB]
08/14/2020, 5:35 PMkevin.cianfarini
08/14/2020, 5:36 PMAlexey Belkov [JB]
08/14/2020, 5:42 PMkevin.cianfarini
08/14/2020, 5:49 PMkevin.cianfarini
08/19/2020, 1:26 AM