Comments (3)
The static type of sbtassembly.Plugin.assemblySettings
is already Seq[sbt.Project.Setting[_]]
and you're putting it in Seq
again. I think.
from sbt-assembly.
I thought of that, too, but here's what I get when I remove the Seq():
[error] /Users/psnively/vmware/git/vcib/vcaf-db/project/Build.scala:71: type mismatch;
[error] found : scala.Seq[sbt.Project.Setting[_]]
[error] required: Seq[scala.collection.TraversableOnce[?]]
[error] Error occurred in an application involving default arguments.
[error] settings = buildSettings ++ Seq (libraryDependencies := commonDeps, resolvers := cseResolvers) ++ (sbtassembly.Plugin.assemblySettings: _*)
To me, this is still just bizarre: it's as if there are two different kinds of Seq's being talked about. Does that make any sense?
from sbt-assembly.
I think you have to delay the set up by using settings
method. The following worked for me:
import sbt._
import Keys._
object FooBuild extends Build {
lazy val root = Project("root", file(".")) aggregate(cli)
lazy val cli = Project("cli", file("cli")) settings(sbtassembly.Plugin.assemblySettings: _*)
override lazy val settings = super.settings ++ Seq(
version := "0.1-SNAPSHOT",
organization := "com.example"
)
}
from sbt-assembly.
Related Issues (20)
- executable jar args
- Concatenating files without a newline HOT 4
- META-INF/javax.annotation.processing.Processor is included empty when shading is enabled - log4j HOT 2
- Add setting to allow adding arbitrary files to output Jar HOT 1
- Merge error not comprehensible HOT 3
- Definition of a repeatable build HOT 1
- InvalidPathException on Assembly 2.1.1 HOT 13
- Current alternative to assembledMappings HOT 6
- Document log4j2 plugins custom merge strategy HOT 2
- sbt clean assembly fails
- issue with zip64 headers in jars generated using sbt-assembly HOT 1
- Files from project's sources overwrite merged dependencies (2.0.0 regression)
- Shading breaks META-INF/services (1.2.0 regression) HOT 1
- Exception thrown "pomProperties" is null
- Abort build if shading fails HOT 1
- question about Mappings
- assemblyMergeStrategy case PathList("META-INF", xs @ _*) scala 3 deprecation warning
- Too many files after moving from v1.2.0 to v2.0.0 and v2.2.0
- license.json files in src/main/resource/json-files is not getting bundled.
- Every class is wrongly found duplicate times when working with SNAPSHOT library ("Deduplicate found different file contents") HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-assembly.