alexarchambault on gh-pages
Update website (compare)
alexarchambault on main
Always build Linux binaries fro… (compare)
DEVELOP.md
This message is replying to a Matrix event but we were unable to find associated bridged Gitter message to put it in the appropriate threaded conversation.
I get past this one.
17:44:11 θ60° lefou:~/work/opensource/coursier master+* 1 ± mill core.jvm[2.13.6].compile
[7/65] core.jvm[2.13.6].publishVersion
[42/65] util.jvm[2.13.6].compile
Compiling project (Scala 2.13.6, JVM)
Warning: 2 feature warnings; re-run with -feature for details
java.nio.file.ClosedFileSystemException
Error compiling project (Scala 2.13.6, JVM)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.ensureOpen(ZipFileSystem.java:1619)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getFileAttributes(ZipFileSystem.java:531)
at jdk.zipfs/jdk.nio.zipfs.ZipPath.readAttributes(ZipPath.java:767)
at jdk.zipfs/jdk.nio.zipfs.ZipPath.readAttributes(ZipPath.java:777)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.readAttributes(ZipFileSystemProvider.java:276)
at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
at java.base/java.nio.file.Files.size(Files.java:2468)
at sbt.internal.inc.HashUtil$.farmHash(HashUtil.scala:31)
at sbt.internal.inc.FarmHash$.ofPath(Stamp.scala:89)
Can someone explain this?
❯ cs resolve com.zaxxer:HikariCP:4.0.0
https://repo1.maven.org/maven2/com/zaxxer/HikariCP/4.0.0/HikariCP-4.0.0.pom
100.0% [##########] 25.3 KiB (316.4 KiB / s)
com.zaxxer:HikariCP:4.0.0:default
org.slf4j:slf4j-api:2.0.0-alpha1:default
But https://repo1.maven.org/maven2/com/zaxxer/HikariCP/4.0.1/HikariCP-4.0.1.pom doesn't show 2.0.0-alpha1. It uses a property syntax:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
slf4j.version
in the pom https://repo1.maven.org/maven2/com/zaxxer/HikariCP/4.0.0/HikariCP-4.0.0.pom it is 2.0.0-alpha1
. So resolver here is showing you the fully resolved deps
${slf4j.version}
in different profiles, which get auto-enabled depending on the executing Java version. Probably not the best idea, but within the Maven POM specs.
cs install ammonite
, it installs the latest version but by default it install the scala 2.13 version.
Hi folks, is it possible to complete snapshots dependencies? e.g.
$ cs complete-dep -r sonatype:snapshots org.scalameta:metals_2.13:0.11.8
0.11.8
At the moment it only seems to resolve releases.
Or do you recommend another way of finding out the latest snapshot version of a dependency from the terminal?
nvim-metals
as latest.snapshot
and it will pull it for you
I want to know how to use 'cs launch' with Gradle.
Essentially, you don't
what i really want to do is swap out the scala compiler in gradle's build process with 'cs launch scalac:2.xxx' or 'cs launch scalac:3.xxx' because that's what my company provides
I guess this is the part the confuses me with your use case. cs launch will have nothing to do with gradle. At the point that you're using launch, gradle is no longer in the picture
Dependency
without access to MinimizedExclusions
in coursier 2.1.0-M7?
coursier
package
❯ ./mill __.compile
[46/3022] bootstrap-launcher.compile
[info] compiling 40 Java sources to /Users/ckipp/Documents/scala-workspace/coursier/out/bootstrap-launcher/compile.dest/classes ...
[error] /Users/ckipp/Documents/scala-workspace/coursier/modules/paths/src/main/java/coursier/paths/CoursierPaths.java:9:1: package dev.dirs does not exist
[error] dev.dirs.GetWinDirs
[error] /Users/ckipp/Documents/scala-workspace/coursier/modules/paths/src/main/java/coursier/paths/CoursierPaths.java:10:1: package dev.dirs does not exist
[error] dev.dirs.ProjectDirectories
[error] /Users/ckipp/Documents/scala-workspace/coursier/modules/paths/src/main/java/coursier/paths/CoursierPaths.java:25:1: cannot find symbol
[error] symbol: class ProjectDirectories
[error] location: class coursier.paths.CoursierPaths
[error] ProjectDirectories
[error] /Users/ckipp/Documents/scala-workspace/coursier/modules/paths/src/main/java/coursier/paths/CoursierPaths.java:105:1: cannot find symbol
[error] symbol: class ProjectDirectories
[error] location: class coursier.paths.CoursierPaths
[error] ProjectDirectories
[error] /Users/ckipp/Documents/scala-workspace/coursier/modules/paths/src/main/java/coursier/paths/CoursierPaths.java:120:1: cannot find symbol
[error] symbol: class ProjectDirectories
[error] location: class coursier.paths.CoursierPaths
[error] ProjectDirectories
1 targets failed
bootstrap-launcher.compile javac returned non-zero exit code
$HOME/.bloop/zsh
folder mentioned further in that page was not created and so zsh auto-completion was not working.$HOME/.bloop/zsh/_bloop
, which solved my issue.➜ foo cs bootstrap "org.apache.spark:spark-hive_2.11:2.4.8" --assembly
Cannot find default main class. Specify one with -M or --main-class.
useCoursier := false
. Does coursier support private gitlab repos?