Eugene Yokota
2bebee4dfe
lm-coursier-shaded 2.0.0-RC6-8
...
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-5
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-6
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-7
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-8
Ref https://github.com/coursier/sbt-coursier/pull/235
Ref https://github.com/coursier/sbt-coursier/pull/262
2020-08-01 15:51:19 -04:00
Eugene Yokota
8789d20724
-Dsbt.semanticdb=true to enable SemanticDB
2020-06-14 17:14:02 -04:00
Eugene Yokota
837dcbb5a6
SemanticDB 4.3.15
2020-06-14 16:53:36 -04:00
Eugene Yokota
5a37ef14fc
Zinc 1.4.0-M6
2020-06-14 15:55:37 -04:00
Eugene Yokota
033ff1d8a5
Make JSON parsing errors more consistent
2020-06-11 20:31:13 -04:00
Eugene Yokota
cad84afc6d
Drop old application/sbt-x1 protocol
2020-06-11 16:22:07 -04:00
eugene yokota
975e3db43e
Merge pull request #5558 from eed3si9n/wip/selective
...
Selective functor
2020-06-10 17:39:13 -04:00
eugene yokota
a83be809ab
Merge pull request #5552 from eed3si9n/wip/promise
...
implement Def.promise
2020-06-10 17:38:23 -04:00
Eugene Yokota
c8f52e6281
Add atMost parameter
2020-06-10 15:30:39 -04:00
Eugene Yokota
b78e4f0919
implement Def.promise
...
This adds `Def.promise` a facility that wraps `scala.concurrent.Promise`. Project layer, there's an implicit for task-that-returns-promise (`Def.Initialize[Task[PromiseWrap[A]]]`) that would inject `await` method, which returns a task. This is a special task that is tagged with `Tags.Sentinel` so that it will bypass the concurrent restrictions. Since there's no CPU- or IO-bound work, this should be ok.
The purpose of this promise for long-running task to communicate with another task midway.
2020-06-10 15:16:25 -04:00
Eugene Yokota
6dd39e7ab8
try last 5 commits to look for remote cache
...
In case there are a few local commits ahead of the remote cache, this would still grab the close point in the history to resume the build.
2020-06-10 12:55:30 -04:00
Eugene Yokota
585f8399ba
implement RemoteCache
...
This adds `pushRemoteCache`, `pushRemoteCacheTo`, `pullRemoteCache`, etc to implement cached compilation facility.
In addition, the analysis file location is now made more clear.
2020-06-09 14:28:40 -04:00
eugene yokota
a109f3d76d
Merge pull request #5526 from 3rwww1/fix/npe-coursier-null-cred-realm
...
Fix coursierint NPE when credential realm is null
2020-06-09 14:24:24 -04:00
Eugene Yokota
0d15fe1162
Remove HTTP support without explicit opt-in
...
Ref https://github.com/sbt/sbt/issues/4905
2020-06-07 01:50:41 -04:00
Eugene Yokota
ada490e61d
Fixes appResolvers returning None
...
Fixes https://github.com/sbt/sbt/issues/5582
Ref https://github.com/sbt/sbt/pull/5576
In #5576 I added `m.allowInsecureProtocol`, which causes reflection error for older launcher.jar, which then falls back to None appResolvers.
2020-05-30 17:52:39 -04:00
Eugene Yokota
9264b128ef
Lower-case some messages
2020-05-29 02:55:12 -04:00
Eugene Yokota
2bf1bcc884
Add welcome banner with Java version
...
Fixes https://github.com/sbt/sbt/issues/5544
2020-05-29 02:35:59 -04:00
eugene yokota
24f367fa07
Merge pull request #5576 from eed3si9n/wip/bumplauncher
...
update to launcher 1.1.4
2020-05-28 17:00:00 -04:00
Eugene Yokota
4bb4c3a9b6
launcher 1.1.4
...
Forward `m.allowInsecureProtocol` to `MavenRepository`.
2020-05-28 16:21:46 -04:00
Adrien Piquerez
a498a20627
Merge branch 'develop' into topic/build-server-protocol
2020-05-28 08:57:23 +02:00
Adrien Piquerez
0789fd7be6
Use java command in BspConnectionDetails
2020-05-25 13:32:48 +02:00
Adrien Piquerez
b184be860f
Add headers
2020-05-25 10:43:54 +02:00
Adrien Piquerez
914b592fb2
scalafmt
2020-05-25 09:40:54 +02:00
Adrien Piquerez
4f00abf1ba
BSP is part of the JVM plugin
2020-05-22 13:39:59 +02:00
Adrien Piquerez
c11ee3269c
Add BspCompilationTaskProgress
2020-05-22 11:15:47 +02:00
Dale Wijnand
ff97fb6068
Avoid making NPEs out of OOMEs!
...
(cherry picked from commit ba29f65f17c7b9d9ac5bf79d0934cf23438a16b4)
2020-05-19 21:30:53 +01:00
Adrien Piquerez
a31747758c
Create BSP connection file at server startup
2020-05-18 09:35:14 +02:00
Eugene Yokota
45e8426d27
def taskIf[A](a: A): Initialize[Task[A]]
...
Make `Def.taskIf` accept pure `A` type, as opposed to `Def.task { ... }`.
2020-05-17 23:44:35 -04:00
Eugene Yokota
c6f62293f1
Def.taskIf macro
...
Def.taskIf accepts an if-expression or a block ending in an if-expression.
2020-05-17 23:36:04 -04:00
Eugene Yokota
fc791cc23e
Rewrite tasks using Def.ifS
2020-05-17 23:36:04 -04:00
Adrien Piquerez
c80fe525c6
add BspClient
2020-05-16 09:52:21 +02:00
Adrien Piquerez
2c8a322bd8
bspWorkspace is a setting
2020-05-16 09:52:21 +02:00
Adrien Piquerez
f3bce7e976
fix BuildServerReporter
2020-05-16 09:52:21 +02:00
Adrien Piquerez
24f6a6f290
add BSP buildTarget/dependencySources
2020-05-16 09:52:21 +02:00
Adrien Piquerez
baa47c88c3
fix BSP logging and response
2020-05-16 09:52:21 +02:00
Adrien Piquerez
98750817c6
fix internal transitive mgmt in BSP
2020-05-16 09:52:21 +02:00
Adrien Piquerez
068fe2ad0a
add BuildServerCapabilities
2020-05-16 09:52:21 +02:00
Adrien Piquerez
3ae42ae9c6
fix scala jars and add capabilities in BuildTarget
2020-05-16 09:52:21 +02:00
Adrien Piquerez
5172775b80
fix classpath in buildTarget/scalacOptions
2020-05-16 09:52:21 +02:00
Adrien Piquerez
454ee61289
separate BSP and LSP handlers + add bspWorkspace task
2020-05-16 09:52:21 +02:00
Adrien Piquerez
a415cd0cfc
replace LSP compiler reporter by BSP one
2020-05-16 09:52:20 +02:00
Adrien Piquerez
f89cef1fd0
add bspCompile task
2020-05-16 09:52:20 +02:00
Eugene Yokota
f6ff4da1c5
Disable aggregation for global input tasks
2020-05-16 09:52:20 +02:00
Eugene Yokota
d2d0a9ca80
buildTarget/scalacOptions
2020-05-16 09:52:20 +02:00
Eugene Yokota
10b2154d2e
Refactor bspBuildTargetSources to be an input task + ScopeFilter
2020-05-16 09:52:20 +02:00
Eugene Yokota
1ccff0ca6d
Add Scala Build Target
2020-05-16 09:52:20 +02:00
Eugene Yokota
95f3877bae
Add stubs for build/shutdown and build/exit
2020-05-16 09:52:20 +02:00
Eugene Yokota
cb93d20492
build server protocol
...
Initial draft for bsp support.
This shows two communication pattern around BSP.
First, if the request can be handled with the build knowledge is readily available in `NetworkChannel` we can reply immediately. `BuildServerImpl#onBspBuildTargets` is an example for that.
Second, if the request requires `State`, then we can forward the parameter into a custom command, and reply back from a command. `BuildServerProtocol.bspBuildTargetSources` is an example of that since it needs to invoke tasks to generate sources.
2020-05-16 09:52:20 +02:00
Alexandre Archambault
f850a9c966
Update coursier to 2.0.0-RC6-4
...
And warn at start-up if ~/.coursier/cache is found.
2020-05-14 15:54:43 +02:00
Adrien Piquerez
ae1df53033
fix relay appender
2020-05-13 14:11:45 +02:00