Mark Vogel
02/14/2023, 5:05 PMcommon
server
and browser
.
When publishing I changed the artifact ID to project
, project-jvm
and project-js
respectively so it would automatically pick them up for the platform.
In the multiplatform project where I'm using the library I can access everything perfectly on the common
and server
(JVM) modules, but for some reason in the browser
(JS) module I can't access the library at all.
Has anyone else encountered this kind of thing? I can confirm that all 3 packages are published to the repositoryAdam S
02/14/2023, 5:36 PMWhen publishing I changed the artifact ID toGradle doesn’t select the Kotlin variant based on the artifact suffix, it uses Gradle module metadata https://stackoverflow.com/q/73914158/4161471 Whether this is related to your problem or not, I don’t know…,project
andproject-jvm
respectively so it would automatically pick them up for the platform.project-js
Mark Vogel
02/14/2023, 5:40 PMAdam S
02/14/2023, 5:52 PMMark Vogel
02/14/2023, 6:11 PMAdam S
02/14/2023, 6:26 PM./gradlew build
works fine, it’s just IntelliJ?Mark Vogel
02/14/2023, 6:26 PMAdam S
02/14/2023, 6:26 PM$HOME/.gradle/
maybeMark Vogel
02/14/2023, 6:27 PMAdam S
02/14/2023, 6:27 PMMark Vogel
02/14/2023, 6:27 PMAdam S
02/14/2023, 6:28 PMMark Vogel
02/14/2023, 6:28 PMAdam S
02/14/2023, 6:28 PMMark Vogel
02/14/2023, 6:31 PMfileHashes.lock
. Then farther down some AccessDeniedExceptions
Lock file: C:\Users\mark.vogel\Projects\ntc-assets\.gradle\7.5\fileHashes\fileHashes.lock
2023-02-13 23:29:24,861 [48235676] WARN - #c.i.o.v.i.l.LocalFileSystemBase - C:\Documents and Settings
java.nio.file.AccessDeniedException: C:\Documents and Settings
Adam S
02/14/2023, 10:16 PMMark Vogel
02/14/2023, 11:31 PM