@@ -6,13 +6,7 @@ import com.typesafe.config.ConfigFactory
6
6
import Project .inConfig
7
7
import Configurations .config
8
8
import Build .data
9
- import sbtassembly .Plugin .AssemblyKeys
10
- import sbtassembly .Plugin .AssemblyKeys ._
11
- import sbtassembly .Plugin .assemblySettings
12
- import sbtassembly .Plugin .MergeStrategy
13
9
import sbtbuildinfo .Plugin ._
14
- import com .typesafe .sbt .S3Plugin ._
15
- import S3 ._
16
10
import bintray .BintrayPlugin
17
11
import bintray .BintrayPlugin .autoImport ._
18
12
import com .typesafe .sbt .GitVersioning
@@ -89,15 +83,9 @@ object MimaBuild {
89
83
lazy val root = (
90
84
project(" root" , file(" ." ))
91
85
aggregate(core, reporter, sbtplugin)
92
- settings(s3Settings:_* )
93
86
settings(name := buildName,
94
87
publish := (),
95
88
publishLocal := (),
96
- mappings in upload := {
97
- def loc (name : String ) = " migration-manager/%s/%s-%s.jar" format (version.value, name, version.value)
98
- Seq ((assembly in reporter).value -> loc(" migration-manager-cli" ))
99
- },
100
- host in upload := " downloads.typesafe.com.s3.amazonaws.com" ,
101
89
testScalaVersion in Global := sys.props.getOrElse(" mima.testScalaVersion" , scalaVersion.value)
102
90
)
103
91
enablePlugins(GitVersioning )
@@ -117,29 +105,16 @@ object MimaBuild {
117
105
settings(sonatypePublishSettings:_* )
118
106
)
119
107
120
- val myAssemblySettings : Seq [Setting [_]] = (assemblySettings : Seq [Setting [_]]) ++ Seq (
121
- mergeStrategy in assembly ~= (old => {
122
- case " LICENSE" => MergeStrategy .first
123
- case x => old(x)
124
- }),
125
- AssemblyKeys .excludedFiles in assembly ~= (old =>
126
- // Hack to keep LICENSE files.
127
- { files : Seq [File ] => old(files) filterNot (_.getName contains " LICENSE" ) }
128
- )
129
- )
130
-
131
108
lazy val reporter = (
132
109
project(" reporter" , file(" reporter" ), settings = commonSettings)
133
110
settings(libraryDependencies += typesafeConfig,
134
111
name := buildName + " -reporter" )
135
112
dependsOn(core)
136
113
settings(sonatypePublishSettings:_* )
137
- settings(myAssemblySettings:_* )
138
114
settings(
139
115
// add task functional-tests that depends on all functional tests
140
116
functionalTests := allTests(functionalTests in _).value,
141
- test in IntegrationTest := allTests(test in IntegrationTest in _).value,
142
- mainClass in assembly := Some (" com.typesafe.tools.mima.cli.Main" )
117
+ test in IntegrationTest := allTests(test in IntegrationTest in _).value
143
118
)
144
119
)
145
120
0 commit comments