| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* Create separate content entries for generated sources
Fixes https://github.com/lihaoyi/mill/issues/728
* Fixed handling of duplictate entries
* Updated tests for GenIdea
|
| |
|
| |
|
|
|
|
|
| |
download (#719)
See also https://github.com/lihaoyi/mill/issues/708
|
|
|
|
| |
That way, we can keep an existing IDEA project in case of a failure.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added the contrib.bsp module which contains an implementation of the BuildServer from BSP, thus alowing mill to be used by IDEs which use BSP.
The MillBuildServer supports the following BSP features:
* retrieving the build targets
* compile requests
* run requests
* test requests
* compile published diagnostics
* task start/finish notifications for compile and test requests
* progress notifications for compile
* retrieving the scala main classes, test classes and scalac options
Currently these features allow importing and compiling a mill project in IntelliJ IDEA via BSP.
Known issues, some of which are being investigated:
* can not run main classes from the IntelliJ interface
* rarely, a strange NoClassDefFoundException is being thrown upon compiling from intellij
* still tweaking the command for starting the server in order to work on all operating systems ( should be fine for linux and macOs so far )
Would be great to get feedback about this integration.
|
| | |
|
| |
| |
| |
| | |
generated diagnostic, but also all of the past diagnostics discovered for a certain source file. This will be compatible with the idea that each set of diagnostics for a certain file invalidates all other diagnostics received in the past.
|
| |
| |
| |
| | |
to be compiled together rather than in different evaluation sessions. This avoids duplicated compilation results and side effects like diagnostics and task progress notifications.
|
| | |
|
| |
| |
| |
| | |
each method in a separate function which now also throws exceptions if a request is made before initialize. Also gave all JavaModules the run capability.
|
| |
| |
| |
| | |
each task context and sending it to the test task. Implemented BspContext to hold information about the test reporter and the additional bsp compiler arguments. Made a common data structure for different bsp parameters - TaskParameters.
|
| |
| |
| |
| | |
the compile parameters specified through bsp
|
| |
| |
| |
| | |
custom BspLoggedReporter reporter. Patched the mill.api.Ctx data structure as well as the evaluate() method on mill's Evaluator in order to accept a potential reporter from the outside, or use a default value if none is given.
|
|/
|
|
|
|
|
|
| |
* Added new target TestModule.testCached which caches the last test result
Implements https://github.com/lihaoyi/mill/issues/711
* Fixed task-in-task evaluation issue
|
|
|
|
|
|
|
|
| |
* Use explicitly given Evaluator instance for evaluation
Might fix https://github.com/lihaoyi/mill/issues/689
* Added missing ev parameter
|
|
|
|
|
|
|
|
| |
* Use dedicated output dir for mill-build module in IntelliJ IDEA
This fixes issues with missing generated sources in IntelliJ IDEA after a rebuild.
* Exclude mill's out dir
|
|
|
|
|
|
|
|
| |
* Use a dedicated path/target for idea compiler output
Fixes https://github.com/lihaoyi/mill/issues/693
* Fixed xml generator and test cases
|
|
|
|
| |
Dotty now uses the 2.13 standard library, so `withDottyCompat` needs to
use the correct suffix depending on the Dotty version.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial module-specific extension support to GenIdea
* Contribute Facets to JavaModule
* Generate additional files under .idea directory
* Introduced more generel Element result type and unit tests
* Moved intellijModulePath into GenIdeaModule
* Added unit test for GenIdea extension
(Missed that previously)
|
|
|
| |
Fixes https://github.com/lihaoyi/mill/issues/673
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add capability to define jar manifest
* Don't use the custom manifest for doc-only jars
This is to pass test mill.scalalib.HelloWorldTests.scalaDocOptions
* Add JarManifest.Default and fix the build
rebase fix
|
|
|
|
|
|
|
|
| |
* Use the binary version of the compiler bridge when available, fix #591
This also eliminates #389 for Dotty 0.13.0-RC1 and more recent
* Add test for Dotty 0.16
|
|
|
|
|
|
|
|
| |
publications (#661)
* Add Dep.optional() to fix #603
* Publish optional dependencies as such
|
|
|
|
|
| |
(#652)
Somehow it seems sonatype has gotten slower recently and no longer completes operations in the same 60s timeout that it used to
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Interpolates $MILL_VERSION in ivy imports
This overrides the default $ivy magic import by replacing the
`$MILL_VERSION` string with mill's version, in order to facilitate
the loading/update of contrib modules.
Ammonite had to be bumped to 1.6.9
* Removed bloop import
* AmmoniteExit import fix
* Removed repl dep check
* Removed problematic check
* Made ammonite version override-able
|
| |
|
| |
|
| |
|
|
|
|
| |
https://github.com/lihaoyi/mill/issues/352
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* bump ammonite to 1.6.7
* upgrade all the things
* add scalaj-http shims for bootstrapping
* wip
* tweak-error-message
* tweak coursier
* .
|
|/ |
|
| |
|
|
|
|
| |
Added a line to the documentation on how to change the artifact id.
Updated the scaladoc on JavaModule to explain the difference between artifactName and artifactId.
|
| |
|
|
|
|
|
|
| |
E.g. disabling picky JavaDoc linter with `-Xdoclint:none`.
The method is called `docOptions` instead of `javadocOptions` so that other modules like `ScalaModule` can reuse it.
|