-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
32 lines (23 loc) · 1.05 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name := "instastorysaver"
version := "0.2.0"
organization := "com.github.alikemalocalan"
scalaVersion := "2.13.14"
libraryDependencies ++= Seq(
"com.github.instagram4j" % "instagram4j" % "2.0.7",
"com.amazonaws" % "aws-java-sdk-s3" % "1.12.753",
"com.typesafe" % "config" % "1.4.3",
"javax.xml.bind" % "jaxb-api" % "2.3.1",
"commons-io" % "commons-io" % "2.16.1",
"org.rogach" %% "scallop" % "5.1.0"
)
mainClass in Compile := Some("com.github.alikemalocalan.instastorysaver.StorySaverScheduler")
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
val stage = taskKey[Unit]("Stage task")
val Stage = config("stage")
enablePlugins(JavaAppPackaging)
assemblyJarName in assembly := s"${name.value}.jar"
assemblyMergeStrategy in assembly := {
case "module-info.class" => MergeStrategy.last
case other => MergeStrategy.defaultMergeStrategy(other)
}
mainClass in assembly := Some("com.github.alikemalocalan.instastorysaver.StorySaverCLI")