Commit Graph

1533 Commits

Author SHA1 Message Date
adpi2 b404431de4
Merge pull request #414 from eed3si9n/wip/integrationtest
Deprecate IntegrationTest
2023-04-25 12:07:11 +02:00
Eugene Yokota 7d052bde8f Deprecate IntegrationTest
We plan to remove IntegrationTest configuration.
See https://eed3si9n.com/sbt-drop-custom-config/ for details.
2023-04-24 01:14:49 -04:00
eugene yokota 48dc7b24ea
Merge pull request #413 from nrinaudo/7195-maven-settings 2023-04-09 13:27:58 -04:00
Nicolas Rinaudo e8cce49ba6 Expand properties found in maven settings 2023-04-09 15:46:23 +02:00
adpi2 67ee08e964
Merge pull request #409 from adpi2/sbt-plugins-maven-path
Try resolve sbt plugin from valid Maven pattern
2023-02-23 09:13:28 +01:00
eugene yokota c57c466c10
Merge pull request #411 from mdedetrich/add-apache-maven-snapshot-repository
Add Apache Maven Snapshots Repository
2023-02-20 10:51:09 -05:00
eugene yokota e9a997fecd
Merge pull request #410 from armanbilge/feature/pom-release-notes-key
Add `POM_RELEASE_NOTES_KEY`
2023-02-20 10:50:56 -05:00
Matthew de Detrich 63d3dccb9e
Add Apache Maven Snapshots Repository 2023-02-18 10:44:25 +01:00
Arman Bilge 3cee90bd55 Add `POM_RELEASE_NOTES_KEY` 2023-02-13 04:05:10 +00:00
Adrien Piquerez 5a0e9b2fe7 Try resolve sbt plugin from valid Maven pattern
sbt plugins were published to an invalid path with regard to Maven's
specifictation.

As of sbt 1.9 we produce two POMs, a deprecated one and a new one,
that is valid with regard to Maven resolution. When resolving,
we first try to resolve the new valid POM and we fallback to
the invalid one if needed.

In the new POM format, we append the sbt cross-version to all
artifactIds of sbt plugins. This is because we want Maven to be
able to resolve the plugin and all its dependencies.

When parsing it, we remove the cross-version suffix so that
the result of parsing the valid POM format is exactly the same
as parsing the deprecated POM format. Hence conflict resolution
happens as intended.

More details can be found at https://github.com/sbt/sbt/pull/7096
2022-12-23 16:08:05 +01:00
eugene yokota 436656f719
Merge pull request #406 from eed3si9n/wip/bump
Bump io, util, and scala-xml
2022-11-10 13:59:56 -05:00
Eugene Yokota adc246ea9a Bump io, util, and scala-xml 2022-11-10 13:45:08 -05:00
eugene yokota c8b7ee7d54
Merge pull request #405 from eed3si9n/wip/ivy
Ivy 2.3.0-sbt-a8f9eb5bf09d0539ea3658a2c2d4e09755b5133e
2022-11-10 10:11:23 -05:00
Eugene Yokota adc682c926 Ivy 2.3.0-sbt-a8f9eb5bf09d0539ea3658a2c2d4e09755b5133e 2022-11-10 10:04:52 -05:00
Eugene Yokota 90795c3590 Util 1.7.1 2022-10-02 21:49:45 -04:00
eugene yokota 8b016c7555
Merge pull request #404 from armanbilge/patch-1
Better deprecation message for `sonatypeRepo`
2022-07-29 23:18:29 -04:00
Arman Bilge f17280780d Formatting 2022-07-30 02:51:02 +00:00
Arman Bilge d2fba6fde0
Better deprecation message for `sonatypeRepo` 2022-07-29 19:32:14 -07:00
eugene yokota c992a314a1
Merge pull request #403 from eed3si9n/wip/bump-sbt
Use sbt 1.7.0
2022-07-10 23:15:22 -04:00
Eugene Yokota 925c461aa8 sbt 1.7.0 2022-07-10 23:09:51 -04:00
eugene yokota 7b16e5b503
Merge pull request #402 from eed3si9n/wip/bump
util 1.7.0
2022-07-10 05:33:33 -04:00
Eugene Yokota 5dd056fa4d util 1.7.0 2022-07-10 05:28:16 -04:00
eugene yokota 9c0fbb678b
Merge pull request #401 from eed3si9n/wip/scala2version
Fix isScalaBinaryCompatibleWith
2022-06-26 21:19:23 -04:00
Eugene Yokota 457af6978f Fix isScalaBinaryCompatibleWith
Problem
-------
Current impl is relaxed about comparing non-release Scala 2.x versions.

Solutution
----------
Use scalaApiVersion to compare two Scala 2 versions.
2022-06-26 21:05:52 -04:00
eugene yokota eb62b4f65d
Merge pull request #400 from ruippeixotog/add_is_compatible_with
Add CrossVersionExtra.isBinaryCompatible utility
2022-06-25 22:30:15 -04:00
Rui Gonçalves daec6265c4
Rename function and extend support to Scala 4+ 2022-06-25 22:54:08 +01:00
Rui Gonçalves 2318269dc5
Add CrossVersionExtra.isBinaryCompatible utility 2022-06-25 21:41:10 +01:00
Eugene Yokota c896641f1c Turn off semanticdb on CI 2022-06-12 23:46:55 -04:00
eugene yokota da80b6a72f
Merge pull request #399 from eed3si9n/wip/gigahorse
Drop OkHttp dependency
2022-06-12 22:39:37 -04:00
Eugene Yokota 76452e53ff Drop OkHttp dependency
Ref https://github.com/sbt/sbt/issues/6912

Problem
-------
There's apparently a security issue with OkHttp 3.x,
which I am not really sure how applicable it is to our usage
of OkHttp but it is there.

Solution
--------
Since most of OkHttp-specic usage within LM is for Apache Ivy
downloading, I am going to drop this.
Since `sbt.librarymanagement.Http.http` is a public API,
I am substituting this with Apache HTTP backed implementation.
2022-06-12 22:24:44 -04:00
Eugene Yokota 91bf2649b2 Bump sbt 2022-06-12 22:03:23 -04:00
eugene yokota c571b466ee
Merge pull request #397 from xuwei-k/remove-bintray-resolver
remove bintray resolver
2022-05-25 12:27:05 -04:00
kenji yoshida 85271660c7
remove bintray resolver 2022-05-22 10:02:26 +09:00
eugene yokota e15f0c149a
Merge pull request #393 from armanbilge/feature/sonatypeRepos
Deprecate `sonatypeRepo`, add `sonatypeOssRepos` to `Resolver`
2022-05-07 19:04:44 -04:00
eugene yokota 6798813515
Merge pull request #395 from eed3si9n/wip/licenses
Add predefined list of licenses
2022-01-31 21:23:09 -05:00
Eugene Yokota a071882321 Add predefined list of licenses 2022-01-31 19:22:37 -05:00
Arman Bilge 7a2f81ea05 sonatypeRepos -> sonatypeOssRepos 2022-01-31 23:23:34 +00:00
Arman Bilge c17309a914 Deprecate sonatypeRepo, add sonatypeRepos 2022-01-16 21:43:36 +00:00
Arman Bilge a561f3a901 Add shortcut for s01.oss.sonatype.org to Resolver
Fixes https://github.com/sbt/sbt/issues/6787.
See also: https://central.sonatype.org/news/20210223_new-users-on-s01/
2022-01-16 21:34:54 +00:00
Eugene Yokota 31db59c825 IO 1.6.0, Util 1.6.0 2021-12-26 01:08:49 -05:00
eugene yokota a52e34a2b0
Merge pull request #391 from peter-janssen/maven-repo-local-property
Respect maven.repo.local property
2021-12-23 10:53:18 -05:00
Peter Janssen f89ba48906 Respect maven.repo.local property 2021-12-23 16:38:52 +01:00
Eugene Yokota caf47ff5cd Util 1.6.0-RC1 2021-11-29 03:34:25 -05:00
eugene yokota cb41524fbe
Merge pull request #390 from eed3si9n/wip/configref
intern/flyweight ConfigRef
2021-11-21 02:41:05 -05:00
Eugene Yokota 129b43acd2 intern/flyweight ConfigRef
Fixes https://github.com/sbt/sbt/issues/6721

Problem
-------
ConfigRef is among the most created on heap.

Solution
--------
intern/flyweight it.
2021-11-20 19:39:18 -05:00
xuwei-k 3ca1898721 fix warning. prepare Scala 3 2021-11-17 12:19:45 +09:00
eugene yokota f4cd994ab4
Merge pull request #387 from eed3si9n/wip/bump
Bump modules
2021-09-19 15:44:56 -04:00
Eugene Yokota 028724ac23 Bump modules 2021-09-19 15:29:08 -04:00
eugene yokota 54c1ee53c6
Merge pull request #386 from rtyley/avoid-repeating-version-in-eviction-error
Avoid repeating versions in Eviction error message
2021-09-18 22:29:03 -04:00
Roberto Tyley 9786906eca Avoid repeating versions in Eviction error message
Rather than seeing an error like this, with the evicted version numbers
being repeated many times:

```
[error] 	* org.scala-lang.modules:scala-java8-compat_2.13:1.0.0 (early-semver) is selected over {0.9.0, 0.9.0, 0.9.0, 0.9.0, 0.9.1, 0.9.1, 0.9.1}
```

...I'd much rather see an error like this:

```
[error]         * org.scala-lang.modules:scala-java8-compat_2.13:1.0.0 (early-semver) is selected over {0.9.0, 0.9.1}
```
2021-09-17 18:12:13 +01:00