alexarchambault on gh-pages
Update website (compare)
alexarchambault on main
Always build Linux binaries fro… (compare)
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?
withIsChanging
function, can I use that instead? So e.g. libraryDependencies += ("internal" %% "library" % "foo").withIsChanging(true)