summaryrefslogtreecommitdiff
path: root/scalalib/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* Search tests annotations also on inherited public methodsTobias Roeser2019-02-221-4/+5
| | | | Fixes https://github.com/lihaoyi/mill/issues/553
* Also add main-api to build library pathsTobias Roeser2019-02-181-1/+1
|
* Also export compileIvyDeps as provided scopeTobias Roeser2019-02-081-1/+9
| | | | Fixes https://github.com/lihaoyi/mill/issues/535
* Added compiler-classpath properties to generated IntelliJ xml files (#531)andres-pipicello-olx2019-01-311-11/+51
|
* PublishModule: add --gpgKeyName flag (#530)lxohi2019-01-212-14/+20
| | | | | | * PublishModule: adds gpgKeyName flag * 1 - Intro to Mill.md: usage sample of publish updates for gpgKeyName
* Fixed GenIdea library path to use file:// if it is not a jar file (otherwise ↵Robby2019-01-141-1/+1
| | | | dest/classes and resources dirs are not properly recognized).
* More improvements to ZincWorkerImpl (#526)Li Haoyi2019-01-111-2/+4
| | | | | | | | | | | | | | * More improvements to ZincWorkerImpl - Cache classloaders separately from `ScalaInstance`s - Pre-compute `analysisMap` to speed up lookups - Allow compile-to-jar using sbt/zinc 1.3.0-m1 * Update build.sc * Update ZincWorkerModule.scala * Update ZincWorkerImpl.scala
* Avoid unnecessary dependency downloading by providing fetches per cache ↵gehnaphore2018-12-204-8/+18
| | | | | | | | | | | | policy (#494) * Avoid unnecessary dependency downloading by providing fetches per cache policy; add ticker logging when they are downloading * Fix GenIdeaTests by making the Log context Option[]al * Add some comments * Rebase and resolve
* bump Ammonite versionLi Haoyi2018-12-191-1/+1
|
* Merge branch 'master' into bump-zincLi Haoyi2018-12-1935-96/+120
|\