tgodzik on master
Handle Gradle javac Annotation … Handle Gradle source path equal… Add more Gradle export settings… and 2 more (compare)
tgodzik on master
Add ScalaInstance top class loa… Merge pull request #1439 from a… (compare)
I have a project that with code like:
dependsOn( anotherProject % "optional->compile" )
These dependencies are missing from the generated (sbt
bloopInstall) bloop configurations. I tried adding this using the
inConfig(Optional)(bloopSettings) pattern. Which did not work: The optional config has no
productDirectories. From a developer perspective, I'd expect these to be treated like compile dependencies. Which, assuming correct so far, requires changing: https://github.com/scalacenter/bloop/blob/a35149836cfebcd6041f84fc17a2a2b896dbcb33/integrations/sbt-bloop/src/main/scala/bloop/integrations/sbt/SbtBloop.scala#L505
hey all! Maybe someone could help me here. I've been using Bloop with IntelliJ for a few months now and I'm very fond of it.
For quite some time have been having some difficulties with its interaction with SBT - it might not be due to it, just guessing.
The problem: when some dependencies are updated in SBT, I've to first reload SBT
sbt clean evicted reload before Bloop can use the lastest dependencies. Is there a way for Bloop to trigger SBT to do this? I didn't found any command to trigger that. Most of the times I use clean and compile
bloop clean compile <projectname> but no success on fetching the new configs.
Additionally, I've noticed that there's no
reload command for Bloop. Does it do it automatically?
100.0% [##########] 94.2 MiB (23.7 MiB / s) [info] Fetched artifacts of [warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings. [info] Compiling 5 Scala sources to /home/ubuntu/rest-api/target/scala-2.13/classes ... https://repo1.maven.org/maven2/org/scala-sbt/compiler-bridge_2.13/1.3.1/compiler-bridge_2.13-1.3.1.pom 100.0% [##########] 3.0 KiB (31.4 KiB / s) https://repo1.maven.org/maven2/org/scala-sbt/util-interface/1.3.0/util-interface-1.3.0.jar 100.0% [##########] 2.5 KiB (66.1 KiB / s) [info] Non-compiled module 'compiler-bridge_2.13' for Scala 2.13.1. Compiling... Killed
Compiled projectN (128812ms)
Compiling root (1 Scala source) [W] [E1] src/main/scala/Main.scala:40:5 [W] A pure expression does nothing in statement position; you may be omitting necessary parentheses [W] L40: "s" [W] ^ [W] src/main/scala/Main.scala: L40 [E1] Compiled root (349ms)