andylamax
07/07/2022, 1:30 PMSam
07/07/2022, 1:33 PMmbonnin
07/07/2022, 1:37 PMmbonnin
07/07/2022, 1:38 PMandylamax
07/07/2022, 2:03 PMmbonnin
07/07/2022, 2:09 PMandylamax
07/07/2022, 3:43 PM> Task :authenticator-core:compileCommonMainKotlinMetadata FAILED
e: /media/andylamax/Auxilliary/Workspace/PiCortex/home/authenticator/core/src/commonMain/kotlin/authenticator/ProfileServiceCore.kt: (3, 17): Unresolved reference: RequestBody
. . .
Funny thing is the following tasks all do compile successfully
• compileKotlinMetadata
• compileKotlinJvm
• compileKotlinJsmbonnin
07/07/2022, 3:47 PMmbonnin
07/07/2022, 3:47 PMandylamax
07/07/2022, 3:49 PMandylamax
07/08/2022, 2:43 AMmbonnin
07/08/2022, 12:33 PMmbonnin
07/08/2022, 12:35 PMmbonnin
07/08/2022, 12:36 PMandylamax
07/08/2022, 1:27 PMmbonnin
07/08/2022, 1:33 PMSystem.getProperty("idea.sync.active") == null
mbonnin
07/08/2022, 1:33 PMandylamax
07/08/2022, 1:46 PMSystem.getProperty("idea.sync.active") == null
do I apply a different kotlin plugin?mbonnin
07/08/2022, 1:48 PMmbonnin
07/08/2022, 1:48 PMmbonnin
07/08/2022, 1:49 PMandylamax
07/08/2022, 1:52 PMandylamax
07/08/2022, 3:01 PMplugins {
if (System.getProperty("idea.sync.active") == null) {
println("Idea is not syncing")
kotlin("multiplatform") version "1.7.0" apply false
} else {
println("Idea is syncing")
kotlin("multiplatform") version "1.6.10" apply false
}
}
Tried in IDEA and AS to no avail. I realize appollo is doing the checking in a build-logic module. Is that the rout I should take as well?? or same principles should apply?mbonnin
07/08/2022, 3:04 PM