Questions tagged [sbt-plugin]

A plugin extends the build definition, most commonly by adding new settings. The new settings could be new tasks. For example, a plugin could add a codeCoverage task which would generate a test coverage report.

An SBT plugin extends the build definition, most commonly by adding new settings. The new settings could be new tasks. For example, a plugin could add a codeCoverage task which would generate a test coverage report.

192 questions
0
votes
1 answer

Overriding integration test configuration in sbt plugin masks run task

Consider the following sbt plugin definition which "overrides" the default "it" configuration to extend the Test configuration (for reasons discussed at How to make "test" classes available in the "it" (integration test) configuration?) import…
Martin Studer
  • 2,213
  • 1
  • 18
  • 23
0
votes
1 answer

How to use sbt plugin as a library dependency in a sbt project?

I have an sbt plugin project that uses multi-project build. I would like to use this plugin as a dependency for the other sbt project. I have created a plugin but when I add this plugin to project, I can't seem to get the dependencies to link up…
Jitendera Kumar
  • 136
  • 1
  • 12
0
votes
0 answers

Sbt plugin depending on another plugin throws a RuntimeException when tested with sbt-scripted

I am trying to test a sbt-plugin (hereafter MyPlugin) with sbt-scripted, but it keeps on giving me a java.lang.RuntimeException (the plugin compiles properly) due to this error (see here for a complete gist): [error] [error] last tree to typer:…
P3trur0
  • 3,155
  • 1
  • 13
  • 27
0
votes
1 answer

Sbt plugin publication and resolution on bintray, different paths (sbt-bintray plugin)

I have some troubles to publish/use a custom sbt plugin from bintray. I'm able to publish sbt-plugin on bintray but when I try to use it the resolver uses another path. I have followed the official guide but adapted it to the latest version of the…
gervais.b
  • 2,294
  • 2
  • 22
  • 46
0
votes
1 answer

SBT Plugin in Jenkins creates empty fat jar

We get "successful" builds using the SBT Plugin, but the fat .jar file is missing almost all dependencies. The log looks correct compared to a local build in Intellij. The file size of the .jar is close to a correct build, so we didn't immediately…
Stuart
  • 1,572
  • 4
  • 21
  • 39
0
votes
1 answer

Running scalastyle in a SBT multi project build

I've a SBT project on a multi-project build set up. root sub-projectA (root depends on it) sub-projectB (root depends on it) I'd like to run scalastyle for only a few files within the project, which could be located in any of the three projects.…
hasumedic
  • 2,139
  • 12
  • 17
0
votes
1 answer

Error trying to import Play project into Eclipse

I'm running Play 2.4, and trying to import a project into eclipse. I added to the project build.sbt: addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0") When I run activator compile (as indicated by the tutorial): activator…
ps0604
  • 1,227
  • 23
  • 133
  • 330
0
votes
1 answer

How to make JsHint sbt plugin more useful?

When I have jshint sbt plugin enable in my Play project, I get these annoying errors which are really not errors. How can I turn them off, or avoid them? Thanks
Khanetor
  • 11,595
  • 8
  • 40
  • 76
0
votes
2 answers

Unable to install sbt-eclipse plugin

I"m trying to install sbt-eclipse on but I keep getting the following error below when running sbt or sbt update. error [info] Loading global plugins from /home/atbyrd/.sbt/0.13/plugins [info] Updating …
Antarr Byrd
  • 24,863
  • 33
  • 100
  • 188
0
votes
1 answer

sbt-native-packager with Akka example

Any distribution example for Akka application using SBT and sbt-native-packager? I managed to use akka-sbt-plugin to package the entire application into a runnable server for distribution. Now, I am struggling to do the same with this plugin…
thlim
  • 2,908
  • 3
  • 34
  • 57
-1
votes
1 answer

Error in build.sbt PlayScala in play framework i scala

this is my build.sbt file and I am getting error about "PlayScala" cannot resolve addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.19") this is already added in plugin.sbt and there's no issue in the version lazy val root = (project in…
-2
votes
1 answer

inetelliJ idea - sbt plugin conflicts with Standalone sbt

I want to setup a Spark-Scala-Sbt dev environment on Ubuntu So i have installed SBT, Scala Seperately before installing IntelliJ. But after installing intelliJ i have installed the sbt plugin for intelliJ as well. Now how to avoid conflicts between…
AJm
  • 993
  • 2
  • 20
  • 39
1 2 3
12
13