Dale Wijnand
29c15e4e2e
Disable project/unique-settings-computation
...
I've seen this fail Travis CI too many times.
Here's two examples:
* https://travis-ci.org/sbt/sbt/jobs/318632919
* https://travis-ci.org/sbt/sbt/jobs/313847550
2017-12-19 15:19:12 +00:00
Dale Wijnand
ad2d71cae4
Upgrade to sbt-houserules 0.3.5
2017-12-19 13:25:58 +00:00
Dale Wijnand
28bcc6c602
Upgrade to sbt-houserules 0.3.5
2017-12-19 13:22:48 +00:00
Eugene Yokota
bc4d3d5031
just scripted actions/*
2017-12-19 03:24:51 -05:00
Eugene Yokota
3507403a36
-Djna.nosys=true
2017-12-19 02:46:46 -05:00
Eugene Yokota
294110e2b8
Remove JNA from sbt/sbt
...
There's a conflict in JNA version difference between sbt and IO.
Fixes #3821
2017-12-19 00:44:31 -05:00
Eugene Yokota
c920919c2c
Fix build so it works on Windows
2017-12-19 00:17:46 -05:00
Eugene Yokota
ec5bdc2381
Add Windows testing
2017-12-18 23:24:20 -05:00
eugene yokota
bff933aceb
Merge pull request #3815 from dwijnand/drop-0.14-references
...
Drop 0.14.0 references
2017-12-18 20:55:34 -05:00
eugene yokota
de4af16434
Merge pull request #3818 from sbt/1.1.x
...
Merge 1.1.x to 1.x
2017-12-18 20:55:11 -05:00
eugene yokota
b21d0e11fb
Merge pull request #3813 from dwijnand/add-project-id-to-watching-message
...
Add project id to watching message
2017-12-18 20:06:14 -05:00
eugene yokota
6b102af836
Merge pull request #137 from dwijnand/mima
...
Add 1.1.1 to mimaPreviousArtifacts, & backfill
2017-12-18 19:57:10 -05:00
Dale Wijnand
2ee0a1e19a
Add 1.1.1 to mimaPreviousArtifacts, & backfill
2017-12-18 16:01:01 +00:00
eugene yokota
db2c54d11d
Merge pull request #3817 from eed3si9n/wip/notes
...
notes
2017-12-16 19:17:07 -05:00
Eugene Yokota
87bb0f48a6
notes
2017-12-16 19:16:22 -05:00
eugene yokota
e40ab026c0
Merge pull request #3816 from eed3si9n/wip/bump
...
Convert lastModified() calls to the more precise getModifiedTime() + modules bump
2017-12-16 13:19:02 -05:00
Eugene Yokota
40b86ae412
bump modules and plugins
2017-12-16 12:22:42 -05:00
Dale Wijnand
ae99922101
Use IO.getModified over importing the method
2017-12-16 12:22:42 -05:00
Antonio Cunei
46d6b01f79
Use copyLastModified() in Sync.scala
...
It turns out the code in Sync.scala activiely tries to transfer
the invalid modifed time of non-existent files in the source
directory over the time of the target file, which may or may
not exist. In case it exists, the modification time is set
to January 1, 1970. This is arguably a bug in Sync, which
should be adjusted to better handle mappings with source
files that do not exist. For now, however, we preserve the
current behavior, using the deprecated copyLastModified().
2017-12-16 12:22:42 -05:00
Antonio Cunei
295bcff851
Hash calculation may throw exception w/ getModifiedTime(); fix
...
In Eval there is a calculation of hashes by scanning the elements
of classpath, and getting the last modification time of each
directory. When lastModified() was in use, non-existent elements
would return 0L, but getModifiedTime() will throw an exception
instead (like getLastModifiedTime(), incidentally).
So, we catch the FileNotFoundException and return 0L now as well.
2017-12-16 12:22:42 -05:00
Antonio Cunei
2129f8ceb5
Use IO.copyModifiedTime() in place of IO.copyLastModified()
2017-12-16 12:22:42 -05:00
Antonio Cunei
8c7b781d3f
Moved Milli._ to IO.
2017-12-16 12:22:42 -05:00
Antonio Cunei
699b53262a
Convert lastModified() to sbt.io.Milli.getModifiedTime(), more precise
2017-12-16 12:22:42 -05:00
eugene yokota
8b6ccd61db
Merge pull request #135 from eed3si9n/wip/1.1.1
...
bump plugins
2017-12-15 13:50:59 -05:00
Eugene Yokota
e835ce0689
bump plugins
2017-12-15 13:15:34 -05:00
eugene yokota
b3e217aa6e
Merge pull request #134 from cunei/wip-milli
...
Convert lastModified() calls to the more precise getModifiedTime()
2017-12-15 13:04:02 -05:00
eugene yokota
3d9eab1bf8
IO 1.1.2
2017-12-15 12:51:29 -05:00
Antonio Cunei
d2338ff287
Removed a couple more direct imports of getModifiedTime()
2017-12-15 17:23:39 +01:00
cunei
d17245344d
Merge pull request #1 from dwijnand/wip-milli
...
Use IO.getModified over importing the method
2017-12-15 17:20:38 +01:00
Dale Wijnand
fa2c48ed84
Drop 0.14.0 references
...
Fixes #3411
2017-12-15 15:44:21 +00:00
eugene yokota
487d94d856
Merge pull request #3814 from dwijnand/avoid-log4j2-error-warning
...
Make CaffeineCache a lazy val
2017-12-15 08:16:11 -05:00
Michael Pollmeier
4668faff7c
don't require publishTo specified if publishArtifact is `false`
...
Even with `publishArtifact := false` the user is still forced to define a (dummy) resolver that's never used, e.g. `publishTo := { Some("publishMeNot" at "https://publish/me/not ") }`
Otherwise the following error is thrown:
```
publish
[error] java.lang.RuntimeException: Repository for publishing is not specified.
[error] at scala.sys.package$.error(package.scala:27)
[error] at sbt.Classpaths$.$anonfun$getPublishTo$1(Defaults.scala:2436)
[error] at scala.Option.getOrElse(Option.scala:121)
[error] at sbt.Classpaths$.getPublishTo(Defaults.scala:2436)
[error] at sbt.Classpaths$.$anonfun$ivyBaseSettings$48(Defaults.scala:1917)
```
2017-12-15 10:53:29 +00:00
Dale Wijnand
8bd522511d
Make CaffeineCache a lazy val
...
This is to avoid it initialising Log4J2 (via SLF4J), which we initialise
ourselves programmatically in LogExchange. Also there's no need to
removeAll in initialState.
Fixes #3787
2017-12-15 08:55:55 +00:00
Dale Wijnand
5f0852818b
Add project id to watching message
...
We redefine watchingMessage in project scope so we can use
thisProjectRef to make the watching message more precise.
Fixes #2038
2017-12-15 01:49:14 +00:00
Dale Wijnand
43a9bd25f0
Remove all warnings from scriptedPluginProj
2017-12-14 15:41:00 +00:00
Dale Wijnand
b8bb8fe185
Remove all warnings from sbtProj
2017-12-14 15:41:00 +00:00
Dale Wijnand
657ff56011
Remove all warnings from scriptedSbtProj
2017-12-14 15:41:00 +00:00
Dale Wijnand
a90832b593
Remove all warnings from mainProj
2017-12-14 15:40:03 +00:00
Dale Wijnand
f50260218d
Remove all warnings from actionsProj
2017-12-14 13:19:23 +00:00
Dale Wijnand
072366d48e
Remove all warnings from testingProj
2017-12-14 13:19:23 +00:00
Dale Wijnand
2390fdfac6
Remove all warnings from mainSettingsProj
2017-12-14 13:16:23 +00:00
eugene yokota
aeb09fcbf4
Merge pull request #3810 from dwijnand/no-contraband-diff
...
Exclude contraband generated files from diff by default
2017-12-14 08:09:20 -05:00
Dale Wijnand
843210598b
Exclude contraband generated files from diff by default
...
In both local git diff and GitHub diff you can still see the diff if you
want. This is just to remove the noise by default.
2017-12-14 12:25:49 +00:00
Antonio Cunei
ab2dfc7ec5
Restore test run/error
...
This reverts commit 4ac231dd49 .
2017-12-14 12:17:41 +01:00
Dale Wijnand
4248f5a0af
Merge pull request #3809 from dwijnand/update-mimaPreviousArtifacts-1.1.x
...
update mimaPreviousArtifacts (in the 1.1.x branch)
2017-12-13 22:06:46 +00:00
Dale Wijnand
fca9c85546
Merge branch '1.0.x' into merge-1.0.x-into-1.1.x
...
* 1.0.x:
Make PositionImpl thread-safe
Support scala 2.13.0-pre-* & 2.13.0-M1
2017-12-13 16:06:14 +00:00
Dale Wijnand
13a8d53369
Use IO.getModified over importing the method
...
.. and make getModifiedTimeOrZero private.
2017-12-13 15:47:15 +00:00
Dale Wijnand
2e5aabb222
Merge pull request #3805 from eed3si9n/wip/file_uri
...
Encode POSIX file path to URI using u3 (file:///)
2017-12-12 17:32:42 +00:00
Eugene Yokota
06b85919ba
Encode POSIX file path to URI using u3 (file:///)
...
Ref https://github.com/sbt/io/pull/96
Under RFC 8089, both u1 and u3 are legal, but many of the other platforms expect traditional u3.
This will increase the compatibility/usability of sbt server, for example to integrate with Vim.
2017-12-12 16:27:14 +00:00
Dale Wijnand
7a8c89effc
Update version to 1.1.0-SNAPSHOT
...
.. & fix project/cross-plugins-defaults.
2017-12-12 16:27:11 +00:00