Robert
12/10/2019, 12:04 PMRobert
12/10/2019, 12:07 PMilya.matveev
12/10/2019, 12:09 PM-i
flag and provide the log here?Robert
12/10/2019, 12:12 PMRobert
12/10/2019, 12:14 PMgradle build -i
?ilya.matveev
12/10/2019, 12:14 PMRobert
12/10/2019, 12:37 PMRobert
12/10/2019, 12:40 PM-Xexport-library
anywhere. I think I should. So it probably isn't getting there anyway in the build file 😞Artyom Degtyarev [JB]
12/10/2019, 12:52 PMprint(...
.Robert
12/10/2019, 12:54 PMexportDeps
or exportDeps.resolve()
emptyilya.matveev
12/10/2019, 12:54 PMcom.ionspin.kotlin:bignum
is a root artifact containing variants for all platforms. The problem is that all these variats are transitive dependencies of the root artifact from the Gradle's point of view. While the snippet I've published in the GitHub issue explicitly makes the exportDeps
configuration non-transitive. So you you have two options:
1. Make this configuration transitive. It causes exporting all other transitive dependencies of com.ionspin.kotlin:bignum
. But you can exclude some of them in the dependency resolution (see Gradle's doc for more info: <https://docs.gradle.org/current/userguide/resolution_rules.html>)
2. Explicitly specify a platform bignum variant (com.ionspin.kotlin:bignum-linux
) instead of the root artifact.Robert
12/10/2019, 12:59 PM