what’s the correct way to point `JavaExec` task’s ...
# multiplatform
e
what’s the correct way to point
JavaExec
task’s
classpath
to the JVM variant of a multiplatform library? here’s an example:
Copy code
configurations {
  cli
}
dependencies {
  cli "com.example:a-multiplatform-library:1.0"
}
tasks.register("myTask", JavaExec) {
  classpath = configurations.cli
  main = "com.example.Main"
}