Questions tagged [sbt1.0]
9 questions
4
votes
1 answer
SBT 1.x fails to resolve parent pom
My SBT 1.1.0 setup fails to resolve parent dependency as a POM file.
We have several libraries published in a local Sonatype repository. All of them depend on 1 maven project with pom property set. So there is no JAR file in…

Eugene Zhulkov
- 505
- 3
- 13
2
votes
1 answer
is it possible to check whether file/folder is modified in sourceGenerators task
I am using sbt sourceGenerators task for code generation. i want to skip all files/folders that are unchanged during processing.How can i check if a particular file/folder inside src/main/scala is changed or not ...

invariant
- 8,758
- 9
- 47
- 61
1
vote
1 answer
How to collect all the values for a SettingKey across all projects for use in an sbt plugin?
I am trying to collect the set of values for libraryDependencies across all projects/scopes/etc in an sbt 1.x build.
What is the right way to accomplish this?

Brian Kent
- 3,754
- 1
- 26
- 31
1
vote
2 answers
Getting the current sbt plugin cross version
I'm trying to cross-build an sbt plugin between 0.13 and 1.1. To accomplish this I need to use different libraryDependencies for the different builds, but I can't find a way to access the current build's target sbt version.
Back when the cross…

tjarvstrand
- 836
- 9
- 20
1
vote
1 answer
SBT 1.0+ Resolvers no longer using Credentials?
this is related to the last question I posted on the subject:
SBT Publish to Visual Studio Team Services (Web) Packages Plugin Repo
At the time I wrote that I was running SBT 0.13.16, and was able to make everything work.
My team has attempted since…

SattaiLanfear
- 195
- 7
1
vote
1 answer
sbt key gets automatically capitalized after migration to sbt 1
I'm migrating an sbt plugin from 0.13 to 1.0.4
The plugin defines an InputKey in the following way:
lazy val myKey = InputKey[Unit]("foo-bar", "")
To use this key, I would run (from sbt console):
foo-bar
but after upgrading to sbt 1.0.4, I'm…

lev
- 3,986
- 4
- 33
- 46
0
votes
1 answer
Scala sbt scoverage plugin resolution with Nexus proxy
I am using scoverage plugin in my project project/plugins.sbt:
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
This resolves fine when I do not use our company nexus.
To test our nexus proxy I added below at…

irrelevantUser
- 1,172
- 18
- 35
0
votes
1 answer
docker image is not running
i have created a custom image of my sbt project here is the docker file
FROM hseeberger/scala-sbt:11.0.2_2.12.8_1.2.8
MAINTAINER name
RUN echo "==> fetch all sbt jars from Maven repo..." && \
echo "==> [CAUTION] this may take…

swaheed
- 3,671
- 10
- 42
- 103
0
votes
1 answer
SBT 1.2.8 Resolving key references hanging
We recently upgraded our sbt build from 0.13.x to 1.2.8 from then on our build agents are often (not always ) hangs right after
Resolving key references (11281 settings) ...
In thread dump I see following lines
- locked <0x00000000800058c0> (a…

Seeta Ramayya Vadali
- 465
- 1
- 5
- 17