Commit Graph

1046 Commits

Author SHA1 Message Date
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
eugene yokota a80ce86e65 Merge pull request #148 from dwijnand/fix-mima-failure
Fix MiMa failures
2017-07-28 02:26:14 -04:00
Dale Wijnand 749a1c9a9b
Fix MiMa failures 2017-07-28 07:18:27 +01:00
Eugene Yokota f976c6824b Name the reverse missing methods 2017-07-28 02:11:20 -04:00
Eugene Yokota 208b8e4279 Exclude ReversedMissingMethodProblem sbt.internal.librarymanagement.formats.* 2017-07-28 02:00:17 -04:00
Eugene Yokota d6e2720201 Let `ModuleDescriptor` declare cache inputs 2017-07-28 01:37:01 -04:00
eugene yokota 1a513b27ef Merge pull request #145 from dwijnand/mima
Upgrade to mima 0.1.15 & add exclusions
2017-07-27 10:43:31 -04:00
Dale Wijnand 32bf842a5a Merge pull request #143 from eed3si9n/wip/formatsfix
Implement better fake formats than ???
2017-07-27 10:17:43 +01:00
Eugene Yokota 93c06d29b1 Implement better fake formats than ???
Fixes sbt/librarymanagement#67
Fixes sbt/sbt#3288
2017-07-26 22:46:06 -04:00
Dale Wijnand 1512d73a07
Upgrade to mima 0.1.15 & add exclusions 2017-07-26 11:40:54 +01:00
Dale Wijnand 4ff4e109a0 Merge pull request #144 from eed3si9n/wip/will_be_removed_not
Change overwrite warning
2017-07-26 08:57:18 +01:00
Eugene Yokota 22f47be292 Change overwrite warning
Previously the warning read:

    Attempting to overwrite $destination
    This usage is deprecated and will be removed in sbt 1.0.

This is an empty threat since we did not remove the feature.

I'm replacing it with:

    Attempting to overwrite $destination (non-SNAPSHOT)
    You need to remove it from the cache manually to take effect.

Fixes sbt/sbt#3271
2017-07-25 17:19:45 -04:00
Dale Wijnand bf733e782b Merge pull request #142 from eed3si9n/wip/settingnoise
Filter out ":: loading settings"
2017-07-25 14:44:44 +01:00
Eugene Yokota ace8d88f9f Filter out ":: loading settings"
Fixes sbt/sbt#3287

I'm not sure why we started to see these messages, but given that their info is mapped to our info, it kind of makes sense that it is surfacing. The fix is hacky, but it should work.
2017-07-25 04:09:44 -04:00
eugene yokota ceadf9722a Merge pull request #141 from eed3si9n/wip/horsefix
Use IvyAuthenticator and JavaNetAuthenticator
2017-07-24 15:35:49 -04:00
Dale Wijnand 87f7fcbe51 Merge pull request #140 from eed3si9n/wip/apifix
Fixes sbtApiVersion logic
2017-07-24 15:21:06 +01:00
Eugene Yokota 3db33720a9 Use IvyAuthenticator and JavaNetAuthenticator
Fixes sbt/sbt#3331

The siatuation is a bit complicated.
Currently the credentials are stored in Ivy's credential store.
This needs to be translated into `java.net.Authenticator` by installing `IvyAuthenticator` and `ErrorMessageAuthenticator` in succession.
This, then, needs to be translated into OkHttp Authenticator using `okhttp3.JavaNetAuthenticator`.
2017-07-24 05:16:42 -04:00
Eugene Yokota 26fa1c5f4b Fixes sbtApiVersion logic
The NonRelease pattern matcher is ony checking for the third segment, but for sbt 1.x, we need to check both the second and third segment since 1.1.0-M1 would be bincompat with 1.0.

Fixes sbt/sbt#3360
2017-07-23 02:34:36 -04:00
eugene yokota b3702ee55d Merge pull request #139 from dwijnand/mima
Add, configure & enable MiMa
2017-07-20 15:02:14 -04:00
Dale Wijnand 66b8863d79
Add, configure & enable MiMa 2017-07-20 17:13:35 +01:00
eugene yokota 1d87f09831 Merge pull request #135 from dwijnand/constant-alias
Add Constant aliases to CrossVersion
2017-07-20 11:35:30 -04:00
eugene yokota 1844458e54 Merge pull request #137 from dwijnand/sbt1
sbt 1.0.0-RC2
2017-07-20 11:16:34 -04:00
Dale Wijnand c5c20db754
Add Constant aliases to CrossVersion 2017-07-20 11:13:52 +01:00
Eugene Yokota d004e9e31a
sbt 1.0.0-RC2 2017-07-20 10:37:17 +01:00
Dale Wijnand 53c80f076a Merge pull request #131 from dwijnand/config-macro-msg
Improve config-creating macro error message
2017-07-17 16:12:04 +01:00
Dale Wijnand c61a690109
Improve config-creating macro error message
Fixes #130
2017-07-17 14:23:00 +01:00
eugene yokota 0147e0c775 Merge pull request #124 from sbt/topic/api
Library management API
2017-07-15 14:07:16 -04:00
Eugene Yokota 509c80c8a7 Bump to latest IO and Util 2017-07-15 13:52:10 -04:00
Eugene Yokota a09af23cc6 Builder pattern for MakePomConfiguration 2017-07-15 12:00:21 -04:00
Eugene Yokota 1d2f4d02cf Remove transitiveScratch
This is used only by sbt, and we are not sure if it needs to be part of the API
2017-07-15 11:19:14 -04:00
Eugene Yokota c95a885a3a Bump to latest Contraband 2017-07-15 11:17:23 -04:00
Eugene Yokota 0c28db9d21 rename to DependencyResolutionInterface 2017-07-15 11:17:23 -04:00
Eugene Yokota 358b750dde turn back syntax classes into traits 2017-07-15 11:17:23 -04:00
Eugene Yokota 7844190964 Use delegation instead of inheritance 2017-07-15 11:17:23 -04:00
Eugene Yokota a98c5f4c65 Minor cleanups per review 2017-07-15 11:17:23 -04:00
Eugene Yokota 7b22e78fd9 Library management API
This splits the core of LM and Ivy-based implementation.

- InlineConfiguration is renamed to ModuleConfiguration
- IvyScala is renamed to ScalaModuleInfo
- UpdateConfiguration, RetrieveConfiguration, PublishConfiguration are refactored to use builder pattern.
- Adds ConfigRef for referencing Configuration
- Moves syntax related things into `sbt.librarymagement.syntax`
2017-07-15 11:17:23 -04:00
eugene yokota 0243eb7492 Merge pull request #129 from eed3si9n/wip/macrofix
Expose Configuration factory
2017-07-15 11:14:14 -04:00
Eugene Yokota f8c656e74d Expose Configuration factory
apply was hidden, so the config macro failed outside of sbt package.
2017-07-15 09:55:33 -04:00
Dale Wijnand f8d3718d28 Merge pull request #113 from eed3si9n/wip/config
define def config(...) as a macro to capture the Scala identifier
2017-07-10 10:02:19 +01:00
Eugene Yokota 13e803d199 Use ConfigRef in reports 2017-07-08 16:10:09 +02:00
Eugene Yokota 9f2f700762 Define ConfigRef and use it in Artifact 2017-07-08 13:01:59 +02:00
Eugene Yokota bc0ed18308 define def config(...) as a macro to capture the Scala identifier 2017-07-08 11:14:37 +02:00