Category "sbt"

sbt assembly: deduplicate module-info.class

I get the following error when assembling my uber jar: java.lang.RuntimeException: deduplicate: different file contents found in the following: [error]

sbt-avro is not generating Scala classes, possible settings issue

I'm trying to use sbt-avro in a Scala project to generate Scala classes from an Avro schema. Here is the project structure: multi-tenant/ build.sbt proj

Spark in SBT console: "Could not find spark-version-info.properties"

I'm trying to instantiate a SparkContext inside a SBT console, using the following scala commands: import org.apache.spark.SparkConf import org.apache.spark.Spa

How to generate html test report for junit in sbt?

I have junit tests in my scala sbt project. I know, that I can generate html reports for ScalaTest with: testOptions in Test += Tests.Argument(TestFrameworks.

How to generate html test report for junit in sbt?

I have junit tests in my scala sbt project. I know, that I can generate html reports for ScalaTest with: testOptions in Test += Tests.Argument(TestFrameworks.

Build a jar file from project folder in a specific location of git repository using azure devops

I am having a git repository for my project with a structure as shown below. The structuring is based on the source, all the codes, scripts related to a sourc

sbt package is trying to download a package whose path does not exist

These are the contents of my build.sbt file: name := "WordCounter" version := "0.1" scalaVersion := "2.13.1" libraryDependencies ++= Seq( "org.apache.spar

sbt-assembly: deduplication found error

I am not sure whether mergestrategy or exclude jars is the best option here. Any help with how do I proceed further with this error will be great! [sameert@pzx

sbt testOnly not working

I'm trying to run a single test class in a Java Play project but fails misserably. If I try to run testOnly my.app.TheClassTest from within sbt (as described

Extracting Structure Failed when importing an sbt project

I'm trying to setup Scala on IntelliJ IDE and when I create a new project it seems fine. When I import another project it errors: Extracting Structure Failed. T

sbt publish assembly jar with a pom

I am able to build one of my multi-project's jars as a single jar and then publish it How do I publish a fat JAR (JAR with dependencies) using sbt and sbt-relea

What are sbtconfig.txt and sbtopts used for?

In the 0.13 release of sbt, I saw these two files in sbt/conf directory, it would be really nice if I can change option inside these files instead of the launch

Why is SBT 1.5.5 ignoring my Resolver.ssh

I am having trouble with ssh/sftp resolver again. I had this working for years, then didn't use it the last couple of years, but now we need it again, and it do