Commit Graph

11993 Commits

Author SHA1 Message Date
adpi2 771b1d3e84
Merge pull request #7538 from adpi2/sbt2-fix-force-update-period
[2.x] Fix `dependency-management/force-update-period`
2024-04-16 16:24:50 +02:00
Adrien Piquerez 1472ac287f [2.x] Fix dependency-management/force-update-period 2024-04-16 15:23:40 +02:00
eugene yokota facd7ab64e
Merge pull request #7525 from eed3si9n/wip/remoteapis
[2.x] Remote caching support
2024-04-15 18:28:46 -04:00
Adrien Piquerez 763383cadb Fix ActionCacheTest 2024-04-15 10:30:38 +02:00
eugene yokota 9bc0ba5f5b Update util-cache/src/main/scala/sbt/util/ActionCacheStore.scala
Co-authored-by: adpi2 <adrien.piquerez@gmail.com>
2024-04-14 14:58:13 -04:00
eugene yokota 0e67131beb
Update main/src/main/scala/sbt/Defaults.scala
Co-authored-by: adpi2 <adrien.piquerez@gmail.com>
2024-04-11 10:45:51 -04:00
Eugene Yokota 967d4a08b3 More robust against the lack of companion? 2024-04-11 13:55:29 +02:00
Eugene Yokota 33d50e2f47 Success log change fix 2024-04-11 13:55:29 +02:00
Eugene Yokota 86cf7c3a0c Remote caching support
This implements Bazel-compat remote caching support via a plugin.
2024-04-11 13:55:29 +02:00
adpi2 a5295ce80e
Merge pull request #7522 from adpi2/sbt2-fix-scripted
[2.x] fix scripted
2024-04-10 16:33:59 +02:00
Adrien Piquerez 8865565004 Fix classloader-cache/resources 2024-04-10 15:32:50 +02:00
Adrien Piquerez eda67a05fc Use fileConverter in cacheStore
Otherwise the store cannot sync files that are not in the out folder.
2024-04-09 16:09:44 +02:00
Adrien Piquerez 9e6612a3f8 Fix hashing of incrementalCompile 2024-04-09 15:33:22 +02:00
Adrien Piquerez 8870cb6a82 Fix Java 8 compat 2024-04-09 15:33:22 +02:00
Adrien Piquerez ab1aa6d001 Fix todos in actions/compile-clean 2024-04-09 15:33:22 +02:00
Adrien Piquerez e1cf43c6bd Add jar file to compileOutputs 2024-04-09 15:33:22 +02:00
Adrien Piquerez 85fcb014f0 Fix data race to remote cache on classpath analyses
The attributed classpath should point to the existing analysis file in the target folder to avoid data racing to the remote cache.
2024-04-08 16:34:18 +02:00
Adrien Piquerez 1c03463e19 Fix test-quick 2024-04-08 10:05:52 +02:00
Adrien Piquerez b0f3cb0a8e Fix actions/completions
When loading a scripted test, sbt creates a jar file and loads it.
The path of the jar file is the same for all the batched tests.
We must prevent the JDK from caching this jar file to force a reload after each test.
Otherwise sbt tries to load the auto-plugins of a previous test and fails.
2024-04-08 10:05:52 +02:00
Adrien Piquerez 52fd2b4427 mute unused nowarn 2024-04-02 17:49:12 +02:00
Adrien Piquerez 129b38f55b Fix tests/serial 2024-04-02 17:49:12 +02:00
Adrien Piquerez ed12ebc5cc fix test/scala-instance-classloader 2024-04-02 17:49:12 +02:00
Adrien Piquerez debc5a39a7 enable run/spawn-exit 2024-04-02 17:49:12 +02:00
Adrien Piquerez 3c04787777 fix run/non-local-main 2024-04-02 17:49:12 +02:00
Adrien Piquerez 2139a6a203 enable run/fork-loader 2024-04-02 17:49:12 +02:00
Adrien Piquerez d9b024cf91 fix project1/ignore-hidden-build-files 2024-04-02 17:49:12 +02:00
Adrien Piquerez 4a946a68cd Fix project1/extra 2024-04-02 17:49:12 +02:00
Adrien Piquerez a92b975032 fix derived 2024-04-02 17:49:12 +02:00
Adrien Piquerez c88a341021 Fix binary-plugin 2024-04-02 17:49:12 +02:00
Adrien Piquerez 6e44d9df2a fix auto-plugins-default-requires-jvmplugin 2024-04-02 17:49:12 +02:00
Adrien Piquerez 222410009b fix no-scala-tool 2024-04-02 17:49:12 +02:00
Adrien Piquerez 9c425ea581 Fix version-interval 2024-04-02 17:49:12 +02:00
Adrien Piquerez 5c2b95980b Fix exclude-dependencies and exclude-dependencies2 2024-04-02 17:49:12 +02:00
Adrien Piquerez 3d3b347c8f Fix pom-advanced 2024-04-02 17:49:12 +02:00
Adrien Piquerez 85943bc33b fix src-dep-plugin 2024-04-02 17:49:12 +02:00
Adrien Piquerez 654d35d1ba Fix triggeredBy and runBefore 2024-04-02 17:47:48 +02:00
Adrien Piquerez e2c7a294f8 minor change 2024-03-27 14:41:24 +01:00
Adrien Piquerez ab9f29590e fix cross-advanced 2024-03-27 14:41:24 +01:00
Adrien Piquerez d001e30530 Fix compile-time-only 2024-03-27 14:41:24 +01:00
Adrien Piquerez 84b933802e Fix compile-clean partially
There is still no auto-definition of clean on tasks that return Seq[Path]
2024-03-27 14:41:24 +01:00
Adrien Piquerez 0005705eb6 Fix += on sourceGenerators 2024-03-27 14:41:24 +01:00
eugene yokota 35520e6cfe
Merge pull request #7521 from adpi2/sbt2-revive-tests 2024-03-26 11:16:56 -04:00
Adrien Piquerez 453ccc6805 Uncomment pending tests 2024-03-26 10:12:29 +01:00
adpi2 180e3518ef
Merge pull request #7520 from eed3si9n/wip/plugin
[sbt 2.x] Forward version as the sbt version
2024-03-26 09:23:16 +01:00
Eugene Yokota 61b0196f28 Forward version as the sbt version 2024-03-26 03:05:57 -04:00
adpi2 40ba7e9a27
Merge pull request #7519 from adpi2/sbt2-fix-todo
[sbt2] Reactivate checkTargets in Load
2024-03-25 20:27:56 +01:00
Adrien Piquerez c6ef392027 fix scripted 2024-03-25 13:16:38 +01:00
Adrien Piquerez 627bd6bea1 Fix checkTargets 2024-03-25 10:52:15 +01:00
adpi2 b921230836
Merge pull request #7517 from adpi2/sbt2-fix-bsp-reporter
[sbt 2] Restore server tests
2024-03-21 15:41:43 +01:00
Adrien Piquerez 62f077e657 fix BuildServerTest 2024-03-21 15:07:29 +01:00