Commit Graph

1133 Commits

Author SHA1 Message Date
Dale Wijnand b969f7362c
Make *Extra & *Functions classes private[librarymanagement]
They were never meant to be public types: they're implementation detail.
2018-03-09 12:54:11 +00:00
Dale Wijnand 16553efb8e
Move lm-ivy MiMa issues to lm-ivy 2018-03-09 10:13:47 +00:00
Dale Wijnand 4c5e1b926b
Merge pull request #215 from dhs3000/patch-1
allow wildcards in groupId or artifactId
2018-03-06 13:49:58 +00:00
Dennis Hörsch 245997c84e
Added test for wildcards in org and name 2018-03-06 13:48:42 +00:00
Dennis Hoersch c9e4ace8de
allow wildcards in groupId or artifactId
According to https://maven.apache.org/pom.html#Exclusions (and https://maven.apache.org/docs/3.2.1/release-notes.html) wildcards are allowed in Maven POM's schema
2018-03-06 13:48:41 +00:00
Dale Wijnand 1a566d8750
Merge pull request #214 from staale/patch-1
Fix to issue #180 to handle null contentType
2018-02-28 10:56:49 +00:00
eugene yokota 367764686b
Merge pull request #213 from retronym/faster/misc
Cache the hashCode of Configuration
2018-02-28 03:44:15 -05:00
Ståle Undheim 42e23e54ff
Fix to issue #180 to handle null contentType
If the content type is null, the call for .toString on it will cause an NPE. This fixes this issue by wrapping the call in an Option, then mapping toString or falling back to null. getCharSetFromContentType handles null by returning ISO-8859-1
2018-02-24 00:25:34 +01:00
Jason Zaugg 4f2933d364 Cache the hashCode of Configuration
I noticed this was showing up in profiles when SBT's task engine
was using Keys, etc (that contain Configurations) in HashMap's.

Let's cache it instead. I don't think there is a need to use a lazy
val for this, we can compute it eagerly.
2018-02-23 14:58:00 +10:00
Dale Wijnand 69fb352fa1
Merge pull request #207 from dwijnand/versions
Update version/mimaPreviousArtifacts/sbt.version
2018-02-14 10:54:12 +00:00
Dale Wijnand bfe347cd22
Update version/mimaPreviousArtifacts/sbt.version 2018-02-14 10:46:24 +00:00
Dale Wijnand 2c6e38829f
Merge pull request #204 from OlegYch/fix-deadlock
avoid deadlocks on spotty connections
2018-01-18 16:29:07 +00:00
OlegYch d267b6fda5
clarify intent 2018-01-18 15:43:18 +00:00
OlegYch 86c59d8f72
avoid deadlocks on spotty connections, fix https://github.com/sbt/sbt/issues/3738 2018-01-18 15:43:18 +00:00
Dale Wijnand 01bb0bd7dd
Merge pull request #199 from dwijnand/mima
Add version 1.1.2 to mimaPreviousArtifacts
2018-01-10 16:01:53 +00:00
Dale Wijnand aa26ae64b9
Add version 1.1.2 to mimaPreviousArtifacts 2018-01-10 15:42:42 +00:00
eugene yokota 203fce01eb
Merge pull request #192 from cunei/wip-milliBis
Revert *ModifiedTime() calls to *lastModified*() calls
2017-12-22 08:41:34 -05:00
Eugene Yokota fa472179f5 sbt 1.0.4 2017-12-22 08:35:26 -05:00
Eugene Yokota b53c37b54f IO 1.1.3 and Util 1.1.2 2017-12-22 08:35:11 -05:00
Antonio Cunei 72dd0064c3 Change modifiedTime definitions 2017-12-22 00:55:24 +01:00
Antonio Cunei 42f23e62aa Revert *ModifiedTime() calls to *lastModified*() calls
There are just too many instances in which sbt's code relies on
the `lastModified`/`setLastModified` semantics, so instead of moving
to `get`/`setModifiedTime`, we use new IO calls that offer the new
timestamp precision, but retain the old semantics.
2017-12-22 00:27:30 +01:00
eugene yokota badb96efb4
Merge pull request #194 from dwijnand/houserules
Upgrade to sbt-houserules 0.3.5
2017-12-19 14:36:17 -05:00
Dale Wijnand abf370adc3
Upgrade to sbt-houserules 0.3.5 2017-12-19 13:23:44 +00:00
eugene yokota 082643b761
Merge pull request #193 from dwijnand/mima
Add 1.1.1 to mimaPreviousArtifacts, & backfill
2017-12-18 21:37:37 -05:00
Dale Wijnand 8fb23b4fe5
Add 1.1.1 to mimaPreviousArtifacts, & backfill 2017-12-18 16:25:32 +00:00
eugene yokota bf94f3badf
Merge pull request #191 from eed3si9n/wip/bump
Convert lastModified() calls to the more precise getModifiedTime()  + bump modules and plugins
2017-12-15 14:28:29 -05:00
Eugene Yokota 68356306ec bump modules and plugins 2017-12-15 14:07:05 -05:00
Dale Wijnand 02c2ab5203 Use IO.getModified over importing the method 2017-12-15 14:06:16 -05:00
Antonio Cunei 41980634a4 Moved Milli._ to IO. 2017-12-15 14:06:16 -05:00
Antonio Cunei 340f1684c2 Temporary workaround to FileNotFoundException in RichUpdateReport() 2017-12-15 14:06:16 -05:00
Antonio Cunei ca2617e99e Convert lastModified/setLastModified calls to sbt.io.Milli calls (more precise) 2017-12-15 14:06:16 -05:00
eugene yokota 858f918a19
Merge pull request #188 from eed3si9n/wip/semantic
Fix false positive on sbt 1.x module eviction warnings
2017-11-29 20:10:36 -05:00
Eugene Yokota 9c1566dfa1 Fix false positive on sbt 1.x module eviction warnings
Fixes #187
2017-11-29 20:02:37 -05:00
eugene yokota 1ad2ff9295
Merge pull request #186 from sbt/1.0.x
Merge 1.0.x
2017-11-29 00:31:41 -05:00
eugene yokota 3c430d00cf
Merge pull request #185 from eed3si9n/wip/formatting_issue
Formatting
2017-11-24 20:49:17 -05:00
Eugene Yokota df177ff56e Formatting 2017-11-24 20:16:36 -05:00
eugene yokota a8b53a23be
Merge pull request #184 from eed3si9n/wip/bump_util
Bump IO and Util
2017-11-24 17:26:27 -05:00
eugene yokota 50d024ac60
Merge pull request #183 from tpunder/fm-sbt-s3-resolver-conflict-fix
Be friendly to SBT plugins that also use URLHandlerRegistry.setDefault
2017-11-24 17:26:09 -05:00
Eugene Yokota 7f3954d8bb Bump IO and Util 2017-11-24 17:14:46 -05:00
Tim Underwood 8330d16431 Be friendly to SBT plugins that also use URLHandlerRegistry.setDefault
Other plugins (for example: https://github.com/frugalmechanic/fm-sbt-s3-resolver)
also make use of the URLHandlerRegistry.setDefault mechanism to register handlers
for other protocols (e.g. "s3").  This change makes it so that SBT will only
register the http/https protocols and will preserve any other protocol handlers
that have already been registered.
2017-11-22 10:50:19 -08:00
Dale Wijnand 9e0d9dd775
Merge pull request #182 from dwijnand/ivy
Bump to latest Ivy
2017-11-15 16:08:05 +00:00
Dale Wijnand f4241c4d65
Bump to latest Ivy
Includes sbt/ivy#27 which fixes a JDK 9 issue.
Similar to PR sbt/launcher#46.
2017-11-15 15:58:29 +00:00
Dale Wijnand 163e8bff82
Merge pull request #181 from xuwei-k/java-9
add Java 9 test
2017-11-13 08:09:23 +00:00
xuwei-k bbbb300ba1 add Java 9 test 2017-11-13 16:19:00 +09:00
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 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