Konstantin Petrukhnov
08/23/2019, 1:21 PMKris Wong
08/23/2019, 1:56 PMNicholas Bilyk
08/23/2019, 5:43 PMconfigurations.create("myConfig") {
dependencies.apply {
add(project.dependencies.create("com.example:foo:version"))
}
}
// In the task:
getExecActionFactory().newJavaExecAction().apply {
classpath = project.configurations.getByName("myConfig")
}
But I don't know how to do the equivalent if the dependency is a kotlin multi-platform library.
I get an exception such as:
Caused by: org.gradle.internal.component.AmbiguousConfigurationSelectionException: Cannot choose between the following variants of com.example:foo:version:
- js-api
- js-runtime
- jvm-api
- jvm-runtime
- metadata-api
jw
08/24/2019, 4:30 AMkpgalligan
08/24/2019, 2:57 PMKonstantin Petrukhnov
08/26/2019, 10:16 AMMike Wolfson
08/26/2019, 9:03 PMMike Wolfson
08/26/2019, 9:29 PMankushg
08/26/2019, 11:12 PMallTests
task been able to get test results as JUnit-like XML files?
I'm only getting the HTML report page in reports
and binary
in test-results
when using JVM and the (new) built-in JS test setup, which makes CI a bit less easy to usegalex
08/27/2019, 4:08 AM. The abi versions don't match. Expected '[14]', found '9'
w: The compiler versions don't match either. Expected '[]', found '1.3-release-10826'
I thought using the last version of each library would be OK:
kotlin_version=1.3.50
ktor_version=1.2.3
kotlinx_serialization_version=0.12.0
kotlinx_coroutines_version=1.3.0
Any idea what the right versions should be?Konstantin Petrukhnov
08/27/2019, 6:40 AMFail
08/27/2019, 9:44 AMMethod threw 'java.lang.ClassNotFoundException' exception.
java.lang.ClassNotFoundException: Didn't find class "kotlin.Exception" on path: DexPathList...
What a solution?
On
try {
} catch (e:Exception) {
...
}
ribesg
08/27/2019, 1:02 PMcommonMain
module and 2 extension functions in my androidMain
and jvmMain
modules which happen to have the same prototype. IntelliJ is complaining in the androidMain
module when I use this extension that it doesn’t know which one to use because it’s defined twice. The problem doesn’t occur in jvmMain
and everything compiles fine, it’s IntelliJ being lost I supposespierce7
08/27/2019, 8:53 PMOla Gawell
08/28/2019, 12:47 PMrobstoll
08/28/2019, 2:19 PMKris Wong
08/28/2019, 4:02 PMansman
08/28/2019, 10:23 PMribesg
08/29/2019, 1:11 PMimplementation(project(":path:to:mpp-module"))
WARNING: Ignoring dependency of module 'mpp-module' on module 'jvm-module'. Java modules cannot depend on Android modules
kpgalligan
08/29/2019, 2:02 PMPatrick Jackson
08/29/2019, 3:54 PMserebit
08/29/2019, 6:07 PMNicholas Bilyk
08/29/2019, 9:40 PMkpgalligan
08/29/2019, 10:09 PMfreeze()
issue thread. Continued from here: https://kotlinlang.slack.com/archives/C3PQML5NU/p1567102026052800 cc @Kris Wong @basherlouiscad
08/30/2019, 3:29 PMkpgalligan
09/01/2019, 2:07 PMleandro
09/01/2019, 5:51 PM@Inject
on it? Since it’s a JVM-only type, so I tried to create my own Inject
with @OptionalExpectation
on it, but can’t seem to figure out the actual
for it.saket
09/01/2019, 7:17 PMsaket
09/01/2019, 7:18 PMsaket
09/01/2019, 8:15 PMsaket
09/01/2019, 8:15 PMrusshwolf
09/01/2019, 8:22 PMbasher
09/01/2019, 8:29 PMsaket
09/01/2019, 8:34 PMbasher
09/01/2019, 8:46 PMsaket
09/01/2019, 10:12 PM