sbt Questions
2
Solved
PS. There's a similar question here, but that is in mvn and my project is in sbt.
First up, a few required informations:
Spark Installed Version: 2.4.0
Scala Installed Version: 2.11.12
I'm try...
Pelagic asked 18/4, 2019 at 20:14
4
I'm trying to publish artifacts to AWS CodeArtifact using sbt, but I'm having some troubles;
Given an sbt project, running the command sbt publish the package is uploaded to the repo but It remains...
Unscathed asked 31/10, 2020 at 10:17
1
I try to run Play project in IntelliJ IDEA. i follow this document.
this is my config. api is my sub project
But when I hit run icon, my service start successful and immediately AkkaHttpServer - St...
Laureate asked 31/7, 2020 at 3:25
5
What can i do with this? I try to create bot for telegram with deploy on heroky. But i got this exception, when i Run my project. I using IntelliJ IDEA Ultimate. PlayFramework with sbt. Database - ...
Psia asked 11/5, 2017 at 22:54
4
Solved
I'm unable to use sbt or run tests from within IntelliJ on an existing Scala project. My setup seems basic.
% brew install coursier/formulas/coursier && cs setup
% cs setup
Checking if a JV...
5
I am trying to follow some tutorials to learn more about Scala and I am trying to use it in IntelliJ in my computer (MacBook Pro M1). I installed sdk using sdkman. However, I get certain errors reg...
3
Solved
I've written an sbt plugin called sbt-jumi which implements sbt integration for Jumi. Right now the sbt-jumi plugin depends on the current Jumi release.
Here is the relevant line from the plugin's...
Giorgio asked 5/8, 2013 at 19:19
2
Solved
Is there an SBT task to increment a project's version?
Given an initial configuration of something like the following build.sbt
name := 'My Project'
organization := 'org.example'
version := '0....
2
How to automatically obfuscate a Play Framework web app when the play state|dist command is executed?
The idea is to use Proguard to perform Java code obfuscation.
There are plugins for SBT, such...
Angloindian asked 25/3, 2014 at 22:41
2
We developed a web application with play 2.2.3 and want to obfuscate it. I am trying to use sbt-proguard plugin. I put the line below to PROJECT_FOLDER/project/plugins.sbt file
addSbtPlugin("com.t...
Parthen asked 10/7, 2014 at 7:6
3
What these phrases mean:
xs @ _*
ps @ _*
Copied from documentation:
assemblyMergeStrategy in assembly := {
case PathList("javax", "servlet", xs @ _*) => MergeStrategy.firs...
Hawking asked 14/3, 2017 at 13:18
4
When running a new project utilising LeadIQ's play boilerplate, we will run into an UnsatisfiedLinkError in older versions of JNA below version 5.7.0.
I think this is due to incompatible binaries b...
3
Solved
Is it possible to run sbt-assembly from within IntelliJ IDEA?
Also I read in the doc that one could add task within the SBT Tool window. But what I see is that it only helps you view your project ...
Subadar asked 3/8, 2014 at 23:17
7
I am trying to compile Scala project which contains scalatest.
It compiles normal on sbt
sbt
> compile
> test:compile
, but when I am trying to build it with IDEA, it shows the following ...
Calceiform asked 1/10, 2016 at 22:27
4
Solved
I pulled down the sources and build/published it locally. I want to debug into sources jars. When I publish it locally, I clearly see it also publishes source jars.
[info] published securesocial-t...
Yusuk asked 23/4, 2014 at 14:3
4
when ivy cache is corrupted I got the following error from sbt
[error] unresolved dependency: commons-codec#commons-codec;1.10: configuration not found in commons-codec#commons-codec;
1.10: 'm...
Arneson asked 30/10, 2015 at 11:48
8
Solved
I am trying to inspect the SBT dependency tree as described in the documentation:
sbt inspect tree clean
But I get this error:
[error] inspect usage:
[error] inspect [uses|tree|definitions] <...
Saltish asked 27/8, 2014 at 6:0
6
I'm using sbt-native-packager 1.0.0-M5 to create my docker image. I need to add a file that's not a source file or in the resource folder. My docker commands are as follows:
dockerCommands := Seq(...
Eosin asked 23/2, 2015 at 14:27
4
Solved
Let's say that I have a trait, Parent, with one child, Child.
scala> sealed trait Parent
defined trait Parent
scala> case object Boy extends Parent
defined module Boy
I write a function t...
Becki asked 4/2, 2015 at 17:13
4
I want to use an external BOM to manage dependency versions for my project in SBT.
For example, the AWS Java SDK publishes a bill-of-materials artifact to their maven repository: https://mvnrepos...
2
Solved
I have a project that I host on GitHub and I use scala-steward to keep my plugins and dependencies up to date. This worked for a while and now it is turning out to be a nightmare to use such auto u...
15
Solved
What's the easiest way to debug Scala code managed by sbt using IntelliJ's built-in debugger? The documentation from "RunningSbt" from sbt's google code site lists commands for running the main cla...
Gerome asked 11/11, 2010 at 1:48
2
My sbt project takes more than 15 minutes when I do
sbt clean compile
I am on a beefy machine on AWS. I am fairly certain its not a resource issue on cpu or internet bandwidth. Also, I have run...
6
Solved
I get the error below, but I can find the package in rt.jar.
I can see the JDK being used from Project Structure.
I'm not sure what's missing.
Error:(6, -1) Play 2 Compiler:
C:\user\projects\por...
Wilden asked 6/11, 2016 at 10:18
4
Solved
How can I set target JVM version in SBT?
In Maven (with maven-scala-plugin) it can be done as follows:
<plugin>
...
<configuration>
<scalaVersion>${scala.version}</scalaVers...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.