summaryrefslogtreecommitdiff
path: root/scalalib/src
Commit message (Collapse)AuthorAgeFilesLines
* Create separate content entries for generated sources (#729)Tobias Roeser2019-11-051-6/+10
| | | | | | | | | | * Create separate content entries for generated sources Fixes https://github.com/lihaoyi/mill/issues/728 * Fixed handling of duplictate entries * Updated tests for GenIdea
* Added return valueTobias Roeser2019-11-051-1/+1
|
* Improve error message in SonatypeHttpApi.scalaLi Haoyi2019-11-051-1/+1
|
* GenIdea: Improves sources handling, better guessing and triggering to ↵Tobias Roeser2019-10-241-4/+28
| | | | | download (#719) See also https://github.com/lihaoyi/mill/issues/708
* Clean old IDEA files after we scuccessfully analyzed the modulesTobias Roeser2019-10-231-2/+4
| | | | That way, we can keep an existing IDEA project in case of a failure.
* GenIdea: be a bit more verboseTobias Roeser2019-10-181-1/+4
|
* Merge pull request https://github.com/lihaoyi/mill/pull/664Tobias Roeser2019-10-163-14/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Remove the dependency to bsp and zinc from core modulesSamvel Abrahamyan2019-10-123-11/+5
| |
| * Modified the compilation diagnostics reporter to send not only the currently ↵Alexandra Dima2019-10-121-1/+1
| | | | | | | | 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.
| * Improved compilation by sending all requested targets to the mill evaluator ↵Alexandra Dima2019-10-122-2/+2
| | | | | | | | to be compiled together rather than in different evaluation sessions. This avoids duplicated compilation results and side effects like diagnostics and task progress notifications.
| * Fixed bug in computing the testing arguments from bsp in buildTargetTest.Alexandra Dima2019-10-121-1/+1
| |
| * Refactored MillBuildServer by putting the future completion at the end of ↵Alexandra Dima2019-10-121-7/+8
| | | | | | | | 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.
| * Partially fixed test request by implementing a test reporter, adding it to ↵Alexandra Dima2019-10-123-6/+14
| | | | | | | | 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.
| * Added support for merging compile parameters from the mill build file with ↵Alexandra Dima2019-10-122-2/+2
| | | | | | | | the compile parameters specified through bsp
| * Implemented support for publishing compilation diagnostics through the ↵Alexandra Dima2019-10-122-3/+13
| | | | | | | | 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 (#712)Tobias Roeser2019-10-161-8/+26
|/ | | | | | | | * 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 (#702)Tobias Roeser2019-10-063-16/+17
| | | | | | | | * 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 (#696)Tobias Roeser2019-09-201-1/+2
| | | | | | | | * 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 (#694)Tobias Roeser2019-09-202-11/+16
| | | | | | | | * Use a dedicated path/target for idea compiler output Fixes https://github.com/lihaoyi/mill/issues/693 * Fixed xml generator and test cases
* Properly support Dotty >= 0.18.1 (#682)Guillaume Martres2019-09-091-2/+17
| | | | Dotty now uses the 2.13 standard library, so `withDottyCompat` needs to use the correct suffix depending on the Dotty version.
* Generate Versions file (#688)Tobias Roeser2019-09-061-8/+0
|
* Initial module-specific extension support to GenIdea (#684)Tobias Roeser2019-09-053-40/+184
| | | | | | | | | | | | | | | * 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)
* Fixed StringIndexOutOfBoundsException in case of short artifact names (#681)Tobias Roeser2019-08-261-1/+1
| | | Fixes https://github.com/lihaoyi/mill/issues/673
* add ability to define jar manifest (#634)Andrew Richards2019-07-291-5/+15
| | | | | | | | | | | | | * 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 (#659)Guillaume R2019-07-251-14/+18
| | | | | | | | * 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
* Ease the declaration of optional dependencies + handle them in maven and ivy ↵Guillaume R2019-07-244-8/+21
| | | | | | | | publications (#661) * Add Dep.optional() to fix #603 * Publish optional dependencies as such
* Bump sonatype "wait for something to happen" timeout, make it configurable ↵Li Haoyi2019-07-092-11/+23
| | | | | (#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 (#649)Olivier Mélois2019-07-082-2/+8
| | | | | | | | | | | | | | | | | | | | * 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
* Update logic to check for Scala libraries when generating fake SBT librariesAndres Pipicello2019-06-281-2/+3
|
* Using mill source path instead of pwdAndres Pipicello2019-06-281-13/+15
|
* Added back the usage of module-defined repos for resolving mill librariesAndres Pipicello2019-06-281-2/+2
|
* It seems that simply using the provided evaluator fixes ↵Andres Pipicello2019-06-281-4/+3
| | | | https://github.com/lihaoyi/mill/issues/352
* Using coursier for reading poms instead of ad-hoc xml parsingAndres Pipicello2019-06-281-8/+6
|
* Fixes 'file name too long' errorAndres Pipicello2019-06-281-20/+4
|
* Simple fix for https://github.com/lihaoyi/mill/issues/527Andres Pipicello2019-06-281-10/+8
|
* Fixes generation of fake SBT librariesAndres Pipicello2019-06-281-4/+8
|
* Using Task.sequence instead of multiple evalsAndres Pipicello2019-06-281-18/+20
|
* Fixes https://github.com/lihaoyi/mill/issues/532Andres Pipicello2019-06-281-5/+5
|
* increase readTimeout to 60000ms, matching mill 0.3.6 semanticsLi Haoyi2019-06-062-4/+4
|
* Configurable read and connect timeouts for Sonatype publishingPaulius Imbrasas2019-06-063-4/+18
|
* Merge branch '600'Li Haoyi2019-05-202-29/+24
|\
| * Switch from scalafmt-cli to scalafmt-dynamicUnknown2019-04-212-29/+24
| |
* | fix for 2.13.0-RC2Li Haoyi2019-05-191-2/+1
| |
* | swap gpg key name orderLi Haoyi2019-05-191-1/+1
| |
* | Bump ammonite to 1.6.7 (#610)Li Haoyi2019-05-1911-82/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bump ammonite to 1.6.7 * upgrade all the things * add scalaj-http shims for bootstrapping * wip * tweak-error-message * tweak coursier * .
* | Removed unused variableTobias Roeser2019-05-031-1/+0
|/
* handle projects not in the main build.sc file (#579)Andrew Richards2019-04-171-2/+5
|
* Documentation around artifact name for publishingNathan Fischer2019-04-051-2/+10
| | | | 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.
* Renamed JavaModule.docOptions to javadocOptionsTobias Roeser2019-02-261-3/+5
|
* Introduced JavaModule.docOptions to add extra (Java)Doc procesing optionsTobias Roeser2019-02-251-11/+16
| | | | | | 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.