Commit Graph

1240 Commits

Author SHA1 Message Date
Dale Wijnand 19054834b7
Merge pull request #179 from xuwei-k/issue-178
fix incorrect eviction warning message
2017-11-06 08:46:24 +00:00
xuwei-k a385a13fa5 fix incorrect eviction warning message 2017-11-02 15:10:05 +09:00
Eugene Yokota ac583b43c9 Fix JavaNetAuthenticator with null check
Fixes sbt/sbt#3519
2017-10-26 18:02:25 -04:00
eugene yokota ceada887c7 Merge pull request #176 from eed3si9n/wip/bump_ivy
Bump Ivy to 2.3.0-sbt-1b57d3bbc08ecf671169fd548918da18c91f77be
2017-10-25 03:48:44 -04:00
Eugene Yokota dcdbcd4979 Bump Ivy to 2.3.0-sbt-1b57d3bbc08ecf671169fd548918da18c91f77be
Ref https://github.com/sbt/ivy/pull/26
Ref sbt/launcher#38

JDK 9 complains when java.lang.reflect.Field#setAccessible is called. So on
JDK 9 to get the default Authenticator on JDK you can just call
Authenticator.getDefault(). However ivy targets JDK 6..

So on JDK < 9 we do what we've always done, and on JDK 9+ we use java
reflection to call Authenticator.getDefault(), which is public and doesn't
require setAccessible(true).
2017-10-24 03:16:17 -04:00
eugene yokota c48047850a Merge pull request #173 from dwijnand/reflect-on-jdk9
On JDK 9 call java.net.Authenticator.getDefault
2017-10-13 21:17:07 -04:00
eugene yokota 91b56c50db Merge pull request #174 from sbt/string-interp
Add a missing string interp
2017-10-13 21:11:28 -04:00
Dale Wijnand fd0d538511
On JDK 9 call java.net.Authenticator.getDefault
JDK 9 complains when java.lang.reflect.Field#setAccessible is called.
So on JDK 9 to get the default Authenticator on JDK you can just call
Authenticator.getDefault(). However lm targets JDK 8..

So on JDK 8 we do what we've always done, and on JDK 9 we use java
reflection to call Authenticator.getDefault(), which is public and
doesn't require setAccessible(true).

Fixes #169
2017-10-13 15:16:08 +01:00
Dale Wijnand 340b4ab9ec Add a missing string interp
Fixes sbt/sbt#3637
2017-10-13 15:00:38 +01:00
eugene yokota eda1e773fd Merge pull request #171 from leonardehrenfried/1.x
Add file name to exception message
2017-09-26 18:42:31 -04:00
Leonard Ehrenfried 08fedf787b
Add file name to exception message 2017-09-26 10:43:34 +02:00
eugene yokota bec0466a41 Merge pull request #170 from laughedelic/patch-1
Removed extra slash in the localBasePattern
2017-09-23 18:00:31 -04:00
Alexey Alekhin 364ba9b44b Removed extra slash in the localBasePattern
When the `scala_[scalaVersion]/` segment is present and the `/[branch]` segment isn't, an extra slash appears before `/[revision]`.
2017-09-23 15:20:43 +02:00
eugene yokota 293666f653 Merge pull request #168 from sbt/1.0.x
Merge 1.0.x
2017-09-20 15:22:49 -04:00
eugene yokota cb6428f9f2 Merge pull request #167 from cunei/wip-gigahorseflag
Add flag sbt.gigahorse.enabled, to optionally disable Gigahorse
2017-09-16 01:14:25 -04:00
eugene yokota 0630b43374 Updated the flag to sbt.gigahorse 2017-09-16 01:07:35 -04:00
Antonio Cunei b480c9c65b Add flag sbt.gigahorse.enabled, to optionally disable Gigahorse. Default is true. 2017-09-14 16:07:02 +02:00
eugene yokota 4da187a331 Merge pull request #164 from dpratt/fix-unclosed-inputstream
Remove deprecated OkHTTP OkUrlFactory
2017-09-10 00:47:15 -04:00
eugene yokota 04193716da Merge pull request #165 from Philippus/patch-1
Replace `ivys` and `artifacts` in comments
2017-09-05 12:33:13 -04:00
David Pratt 5d32ec2966 Add deprecation annotations. 2017-09-04 16:57:13 -05:00
David Pratt 204f0dcd6c Filter spurious mima errors. 2017-09-04 16:48:56 -05:00
Philippus Baalman d976980af2 Replace `ivys` and `artifacts` in comments
The `ivys` and `artifacts` methods are not available anymore, now referring to `withPatterns`
2017-09-04 15:46:39 +02:00
David Pratt 399a511f9c Remove deprecated OkHTTP OkUrlFactory
- Replace usage of OkUrlFactory with just direct calls to the OkHTTP
API. This allows us to ensure that connections get properly closed, and
provides finer-grained internal control of how we make http requests.

- Ensure that exceptions/error status codes don't cause leaked or
hanging connections. Previously, a 404 on an artifact download would
cause the underlying OkHTTP client to keep the request and connection
open. This has the effect of wasting resources, but also slowing down
overall download/resolution time to non-pipelined HTTP servers.
2017-09-03 15:30:57 -05:00
eugene yokota 6fc7bc6dc9 Merge pull request #163 from eed3si9n/wip/use_sbt1
Use sbt 1.0.0
2017-08-26 15:03:19 -04:00
eugene yokota 0ae5f5df9e Merge pull request #162 from pvlugter/cached-resolution-plugin-cross-build
Include sbt plugin extra attributes in cached resolution
2017-08-26 14:26:19 -04:00
Eugene Yokota 03b531ca1e Use sbt 1.0.0 2017-08-26 13:42:11 -04:00
Peter Vlugter 437165eeb5 Include sbt plugin extra attributes in cached resolution 2017-08-16 11:27:26 +12:00
Dale Wijnand 9abaa9f740 Merge pull request #160 from dwijnand/scalafmt
Scalafmt 1.2.0
2017-08-14 16:58:41 +01:00
Dale Wijnand df108f7c78
Scalafmt 1.2.0 2017-08-14 15:29:06 +01:00
Dale Wijnand e91e5c9e77 Merge pull request #153 from dwijnand/UpdateReport.toString-2
Make sure UpdateReport has a nice toString^2
2017-08-10 16:41:34 +01:00
Dale Wijnand 480a1a366d Merge pull request #158 from dwijnand/scalafmt
Add back, re-configure & re-enable Scalafmt
2017-08-10 16:05:23 +01:00
Dale Wijnand 63e63f05fa
Add back, re-configure & re-enable Scalafmt 2017-08-10 12:04:58 +01:00
Dale Wijnand b7c6c64fca Merge pull request #157 from dwijnand/merge-1.0.0
Merge 1.0.0 into 1.x
2017-08-10 11:46:39 +01:00
Dale Wijnand 60ae1dc1ee
Merge branch '1.0.0' into merge-1.0.0
* 1.0.0:
  IO 1.0.0, Util 1.0.0
  Upgrade to sbt 1.0.0-RC3
  Bump mimaPreviousArtifacts to 1.0.0-RC3
  IO 1.0.0-RC3, Util 1.0.0-RC3
  Contraband 0.3.0
  Make sure UpdateReport has a nice toString
  Upgrade to Scala 2.12.3
  Fix MiMa failures
  Name the reverse missing methods
  Exclude ReversedMissingMethodProblem sbt.internal.librarymanagement.formats.*
  Let `ModuleDescriptor` declare cache inputs
  Implement better fake formats than ???
  Upgrade to mima 0.1.15 & add exclusions
  Change overwrite warning
  Filter out ":: loading settings"
  Use IvyAuthenticator and JavaNetAuthenticator
  Fixes sbtApiVersion logic
  Add, configure & enable MiMa
  Add Constant aliases to CrossVersion
2017-08-10 09:18:32 +01:00
eugene yokota 7985a930a3 Merge pull request #155 from eed3si9n/wip/bump
IO 1.0.0, Util 1.0.0
2017-08-09 21:49:20 -04:00
Eugene Yokota 3258e7b413 IO 1.0.0, Util 1.0.0 2017-08-09 21:14:57 -04:00
Dale Wijnand f45a076241
Make sure UpdateReport has a nice toString^2
Fixes sbt/sbt#3357
2017-08-07 15:10:11 +01:00
Dale Wijnand 568d64ef1c Merge pull request #152 from dwijnand/rc3
Upgrade to sbt 1.0.0-RC3
2017-08-01 15:02:38 +01:00
Dale Wijnand 14cc1c56e2
Upgrade to sbt 1.0.0-RC3 2017-08-01 14:34:38 +01:00
Dale Wijnand 3c66425d55 Merge pull request #151 from dwijnand/mima
Bump mimaPreviousArtifacts to 1.0.0-RC3
2017-07-31 14:45:03 +01:00
Dale Wijnand 8e8f9a5380
Bump mimaPreviousArtifacts to 1.0.0-RC3 2017-07-31 11:39:05 +01:00
eugene yokota c695330eb1 Merge pull request #150 from eed3si9n/wip/contraband
Bump Contraband, IO, and Util
2017-07-28 13:06:25 -04:00
Eugene Yokota 0a42cf0749 IO 1.0.0-RC3, Util 1.0.0-RC3 2017-07-28 12:47:57 -04:00
Eugene Yokota 831e99bd59 Contraband 0.3.0 2017-07-28 12:47:41 -04:00
Dale Wijnand c6e8bd72d2 Merge pull request #146 from dwijnand/UpdateReport.toString
Make sure UpdateReport has a nice toString
2017-07-28 10:36:35 +01:00
eugene yokota 47e4dca194 Merge pull request #147 from eed3si9n/wip/api_mod
Let `ModuleDescriptor` declare cache inputs
2017-07-28 03:37:50 -04:00
eugene yokota 1e9ff48e22 Merge pull request #149 from dwijnand/2123
Upgrade to Scala 2.12.3
2017-07-28 03:32:01 -04:00
Dale Wijnand 52923854cc
Make sure UpdateReport has a nice toString
Fixes sbt/sbt#3357
2017-07-28 08:16:38 +01:00
Dale Wijnand 8f912301be
Upgrade to Scala 2.12.3 2017-07-28 07:56:02 +01:00
eugene yokota a43947410e Merge branch '1.0.0' into wip/api_mod 2017-07-28 02:27:29 -04:00