AndroidX has a Gradle task that gathers and writes...
# multiplatform
a
AndroidX has a Gradle task that gathers and writes a list of the dependencies (both directly declared and transitive) for AndroidX libraries to a json file at build time (relevant code in the task can be found here). We are noticing that this list is empty when building any target that is not JVM, android, JS, or wasmJS. It looks like the reason for this is that the
runtimeDependencyConfigurationName
(definition here) is null when building for those targets. We could use
compileDependencyConfigurationName
for this, but before doing so wanted to check, is it expected that all targets that are not JVM, android, JS, or wasmJS have a null value for
runtimeDependencyConfigurationName
? The two fields have similar descriptions and don't mention differences with regards to KMP. CC: @aurimas, @tapchicoma
a
Yes it is expected as kotlin native doesnt support runtime configurations. I.e. they just support compile dependencies that get passed to compile and link tasks. In other words everything is "api" scoped for k/native. If you can you may create a YT issue to enhance kgp documentation on that topic.
👍 1
a
Makes sense, thanks!
a
@Aidan Melvin let's make sure to file a youtrack issue to update the documentation here
👍 1