eugene yokota
f6b1cbde8c
Merge pull request #4564 from eatkins/bin-version-unused
...
Remove unused local variable
2019-03-21 01:03:53 -04:00
Ethan Atkins
e536c4ac39
Remove unused local variable
2019-03-20 11:22:21 -07:00
eugene yokota
e8a011bf5f
Merge pull request #4561 from eed3si9n/wip/progress
...
open up ExecuteProgress, and adds a few keys
2019-03-20 11:06:03 -04:00
Scala steward
28a12368b2
Update scalatest to 3.0.7 ( #48 )
2019-03-19 10:25:46 +01:00
Eugene Yokota
86abe3ed60
open up ExecuteProgress, and adds a few keys
...
Fixes #4461
This opens up ExecuteProgress API that's been around under private[sbt].
Since the state passing mechanism hasn't been used, I got rid of it.
The build user can configure the build using two keys Boolean `taskProgress` and `State => Seq[TaskProgress]` `progressReports`. `useSuperShell` is lightweight key on/off switch for the super shell that can be used as follows:
```scala
Global / SettingKey[Boolean]("useSuperShell") := false
```
2019-03-19 00:42:46 -04:00
eugene yokota
7e3327bff5
Merge pull request #4560 from eatkins/unseal-parser
...
Unseal Parser
2019-03-17 21:19:13 -04:00
0lejk4
a4e5a2e299
leave scheme unchanged for binary compatibility but don`t render email tag if it is null or empty
2019-03-17 11:32:52 +02:00
Eugene Yokota
c61773af03
Skip Scala 2.10 and Scala 2.11 components for JDK 11
...
Scala 2.10 and Scala 2.11 do not support JDK 11.
2019-03-15 15:59:32 -04:00
Ethan Atkins
9040e57932
Unseal Parser
...
Although this is technically in the internal package, it is exposed to
users when they write a custom input task. I do not think that we should
prevent users/plugin authors from writing their own parser
implementations if there is a different library they prefer. By my
count, there are 21 implementations of this interface in sbt, so it's
unlikely that there is much benefit from a pattern matching perspective.
2019-03-15 11:11:25 -07:00
Alexandre Archambault
b8befa4ec7
Tweak global plugins handling ( #47 )
...
Seems the changes of
3eb210eb1b
were missing bits to handle the configurations of the global-plugins
project.
2019-03-15 19:02:44 +01:00
0lejk4
0878b9db14
make Developer email optional as it is not obligatory and some people don`t want to expose it
2019-03-14 00:10:26 +02:00
eugene yokota
354f85cecb
Merge pull request #4556 from eed3si9n/wip/progress
...
Make sure progress thread gets shutdown
2019-03-08 20:41:41 -05:00
Eugene Yokota
cd1d2e0994
Util 1.3.0-M5
2019-03-08 19:18:53 -05:00
eugene yokota
48574c2041
Merge pull request #194 from eed3si9n/wip/plugins
...
switch to official sbt-scalafmt
2019-03-07 19:19:11 -05:00
Eugene Yokota
e4612c858c
switch to official sbt-scalafmt
2019-03-07 18:19:12 -05:00
eugene yokota
3572868cac
Merge pull request #193 from eed3si9n/wip/terminal
...
Account for log line longer than the terminal width
2019-03-07 17:35:53 -05:00
Eugene Yokota
d496a5dff5
Make showProgress configurable
2019-03-07 16:49:54 -05:00
Eugene Yokota
8215026bc3
Account for log line longer than the terminal width
...
widthHolder will hold on to the terminal width if supplied by sbt.
This avoids adding dependencies to JLine.
2019-03-07 16:42:10 -05:00
Eugene Yokota
8c85744d67
Use IO.Newline for stack trace
2019-03-07 16:39:47 -05:00
Alexandre Archambault
1c28e8fb6b
Switch to coursier 1.1.0-M13-1 ( #45 )
2019-03-07 15:35:35 +01:00
Alexandre Archambault
c24e8dd4e1
Merge pull request #42 from alexarchambault/develop
...
Switch to coursier-based sbt-launcher
2019-03-06 13:37:54 +01:00
Alexandre Archambault
dcd0461801
Fetch test web server jars before sbt starts
...
Possible lock issues when trying to fetch the server and sbt at the same
time.
2019-03-06 12:38:03 +01:00
Alexandre Archambault
def85e3ddc
Add sbt-dotty test
...
And take scalaModuleInfo.overrideScalaVersion into account.
Also requires the loosened cross version application of the previous
commit.
2019-03-06 11:39:53 +01:00
Alexandre Archambault
5ea339c6f3
Only add cross version suffixes when necessary
...
From CoursierDependencyResolution
2019-03-06 10:59:35 +01:00
Alexandre Archambault
dbcbad7e2b
Switch to coursier 1.1.0-M13
2019-03-06 10:59:35 +01:00
Alexandre Archambault
22e194db90
Temporary workaround for coursier-based sbt launcher
...
Seems reload reloads sbt from the same classloader, which leaves the in
memory cache as is. When update is called, things are then picked from
the cache, and nothing gets logged, which makes the test fail.
2019-03-06 10:59:35 +01:00
Alexandre Archambault
852e73e036
Use coursier-based sbt launcher
2019-03-06 10:59:35 +01:00
Alexandre Archambault
74d28eb1c4
Tweak .travis.yml
2019-03-04 18:08:06 +01:00
Alexandre Archambault
d852209172
Tweak tests
...
Most of those adjustments are required when using the coursier-based sbt
launcher.
2019-03-04 12:19:52 +01:00
Alexandre Archambault
dab476ab93
Add extra check
...
The size == 1 check just below is required for scripted to work fine.
(The first module report must correspond to the passed dependency for
scripted to find the sbt launcher JAR.)
It seems under some conditions, the sbt launcher dependency ends up
being duplicated (it's already duplicated in the allDependencies task,
that should be set by sbt). This in turn makes the check fail, and makes
scripted not find the sbt launcher. This happens with
playframework/interplay at commit d782b75.
The call to distinct circumvents that case.
2019-03-04 12:19:52 +01:00
Scala steward
75b08dc7ff
Update scalatest to 3.0.6 ( #40 )
2019-02-28 16:16:45 +01:00
Alexandre Archambault
642790159f
Merge pull request #38 from alexarchambault/develop
...
Switch to coursier 1.1.0-M12, use high level API
2019-02-26 16:43:21 +01:00
Alexandre Archambault
4eb4a98512
Remove unused dependency
2019-02-26 15:44:34 +01:00
Alexandre Archambault
d21d388e85
Temporary workaround
2019-02-26 15:43:24 +01:00
Alexandre Archambault
9bd17e0fdd
Switch to coursier 1.1.0-M12, use high level API
2019-02-26 13:37:30 +01:00
Alexandre Archambault
2fda1c1c45
Switch to sbt-coursier 1.1.0-M11 in build
2019-02-26 13:29:55 +01:00
Eugene Yokota
3cd8cc4e86
Make sure progress thread gets shutdown
2019-02-26 05:10:18 -05:00
eugene yokota
15ea0109b8
Merge pull request #192 from eed3si9n/wip/bump
...
log4j 2.11.2
2019-02-23 14:36:46 -05:00
Eugene Yokota
3a6aa57747
log4j 2.11.2
2019-02-23 14:21:07 -05:00
eugene yokota
8a641690f3
Merge pull request #4551 from eed3si9n/wip/bumpsbt
...
sbt 1.2.8
2019-02-23 06:27:20 -05:00
Eugene Yokota
1d09a15cb3
sbt 1.2.8
2019-02-23 04:36:06 -05:00
eugene yokota
57ab435306
Merge pull request #257 from eed3si9n/wip/commandline
...
Default to -Dfile.encoding=UTF-8, and also fix -mem problem
2019-02-23 01:50:00 -05:00
Eugene Yokota
6088e1980a
Staging is required before the test
2019-02-23 00:02:48 -05:00
Eugene Yokota
b5cb8b4657
Let -mem take higher precedence
...
Fixes #256
JAVA_OPTS and SBT_OPTS are now read into an array first.
If `-mem` is passed, it will evict all memory related options,
and use the calculated memory options instead.
2019-02-22 22:39:18 -05:00
Eugene Yokota
88b8386d15
Update integration test
2019-02-22 22:39:18 -05:00
Eugene Yokota
3f9e91aa4f
Default to -Dfile.encoding=UTF-8
...
Fixes #236
2019-02-22 22:39:18 -05:00
Eugene Yokota
4d772b4745
Concatenate bin/sbt-launch-lib.bash and bin/sbt
2019-02-22 22:39:18 -05:00
eugene yokota
9f37eb8b30
Merge pull request #251 from sbt/wip/gzip
...
gzip deb so we can publish to Bintray
2019-02-22 22:25:18 -05:00
eugene yokota
cb564a077d
Merge pull request #255 from swachter/disable-on-error-exit
...
unset immediatly exit flag (set +e) in launch script
2019-02-22 22:24:24 -05:00
eugene yokota
f99289a797
Merge pull request #4550 from eed3si9n/wip/jsbump
...
Bump node modules for security fixes
2019-02-22 10:55:05 -05:00