summaryrefslogtreecommitdiff
path: root/scalalib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Added support for typelevel scala librariesTobias Roeser2019-02-241-0/+3
| | | | Fixes https://github.com/lihaoyi/mill/issues/534
* 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
|
* Only hold weak references to classloaders in internal cacheTobias Roeser2019-02-111-7/+14
| | | | | That way, we do not prevent class loader unloading / garbage collection. Also, we reduce the chance to use an outdated class loader.
* 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-312-11/+59
|
* 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-112-15/+32
| | | | | | | | | | | | | | * 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
* Update ZincWorkerImpl.scalaLi Haoyi2019-01-091-6/+6
|
* Allow usage of ZincWorkerImpl without hashing files (#525)Li Haoyi2019-01-091-2/+39
| | | | | | | | | | | | * Allow usage of ZincWorkerImpl without hashing files This is to better support non-Mill build tools like Bazel or Make who might do their own file hashing/mtiming for change-detection * Update ZincWorkerImpl.scala * Update ZincWorkerImpl.scala * Update ZincWorkerImpl.scala
* Avoid unnecessary dependency downloading by providing fetches per cache ↵gehnaphore2018-12-205-9/+19
| | | | | | | | | | | | 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-1953-204/+233
|\
| * Generalize Zinc Worker (#514)Li Haoyi2018-12-1811-148/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Generalize Zinc worker - Compiler bridges can now be either pre-compiled or on-demand-compiled - Scala library/compiler jar discovery is now configurable - Zinc compiler cache is now configurable, rather than being hardcoded at n=1 * . * update constructor args * remove duplicate util/AggWrapper.scala file * fix * fix * fix * cleanup
| * fix GenIdea to create required folders (#510)dohrayme2018-12-141-1/+1
| |
| * collapse boilerplate folder structure within src/ folders (#505)Li Haoyi2018-12-1252-2/+2
| | | | | | | | | | | | * collapse boilerplate folder structure within src/ folders * .
* | bump zinc 1.2.1 -> 1.2.5bump-zincLi Haoyi2018-12-191-1/+1
|/
* First pass at splitting out worker-api from mill core. (#504)Li Haoyi2018-12-1217-165/+171
| | | | | | | | | This reduces the {scala,scalajs,scalanative}-worker dependency from the entirety of Mill to a much narrower `mill.api` module. This reduces the amount of classpath pollution within these workers, should mean they're much faster to download the first time, and reduces the amount of random junk they would pull in if they were to be used outside of the Mill project. The interactions between the various *Modules and their *WorkerImpls has been narrowed down to the `*.api` modules, which only depend on other `*.api` modules. A lot of things have been moved around; user code is unlikely to break, but it's possible some will if it references classes that have been moved around. Forwarders have been left for the few internal classes that Mill uses in it's own `build.sc`, to support bootstrapping. Third-party code which breaks should be a straightforward to fix just by updating imports The `*.api` modules have minimal dependencies (mostly uPickle and os-lib) and minimal code. There is still a bunch of implementation code in there: some of it defining data-types that are commonly sent across the module/worker interface (`Agg`, `PathRef`, ...), and some of it just general helper functions that are needed both in modules and workers. The latter code isn't strictly API definitions, but for now is small enough it's not worth splitting into it's own module
* fix testsLi Haoyi2018-12-121-1/+1
|
* bump ammonite versionLi Haoyi2018-12-111-1/+1
|
* Add Gitlab to VersionControl (#489)Leonard Ehrenfried2018-12-071-2/+9
|
* bump Ammonite version0.3.5Li Haoyi2018-11-192-2/+2
|
* 0.3.4Li Haoyi2018-11-061-1/+1
|
* fix assembly path handling, swap out Jvm.scala's custom subprocess handling ↵Li Haoyi2018-11-053-9/+9
| | | | with os.proc
* WIP migrating over from `ammonite.ops` to `os` module.Li Haoyi2018-11-0518-243/+226
| | | | __.compile works, haven't run tests yet
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2018-11-021-1/+2
|\
| * Added additional debug log channel (default: log-file only)Tobias Roeser2018-10-301-1/+2
| |
* | Fix https://github.com/lihaoyi/mill/issues/475Li Haoyi2018-11-023-15/+53
|/
* 0.3.20.3.2Li Haoyi2018-10-201-1/+1
|
* Allow use of inferred main classes when building self-executing assembliesLi Haoyi2018-10-191-1/+1
|
* 0.3.00.3.0Li Haoyi2018-10-181-1/+1
|
* bump ammonite version againLi Haoyi2018-10-181-1/+1
|
* bump Ammonite versionLi Haoyi2018-10-183-17/+16
|
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2018-10-184-5/+13
|\
| * Configure Idea project generator per module (#458)Tobias Roeser2018-10-092-2/+9
| | | | | | | | | | | | | | | | * Sketched how to skip some projects from Idea project generator * Better trait comment * Moved skipIdea flag into JavaModule
| * fix for allowing subgroups of a given staging profile (#441)Brandon Elam Barker2018-10-051-1/+2
| |
| * Re-order `publishAll` arguments to get rarely used `signed` arg out of the wayLi Haoyi2018-09-201-2/+2
| |
* | .Li Haoyi2018-10-184-17/+22
|/ | | | | | fix docjar tests now it no longer fails with an exception docJar works again, now mill clean __.docJar && mill __.docJar goes from 413s to 47s on the mill repo
* Include scaladoc as part of mill inspect (#435)Li Haoyi2018-09-203-11/+217
|
* Dedicated scalaDoc plugins and options (#433)Guillaume Grossetie2018-09-192-7/+111
| | | | | | * Dedicated scalaDoc plugins and options * Use T{} for consistency
* Remove useless type parameters for {Test,}Evaluator (#416)Guillaume Martres2018-09-155-18/+18
| | | | | | * Remove useless type parameters for {Test,}Evaluator * Update Evaluator.scala
* don't compile hidden files. fixes #402 (#428)Nikolay Tatarinov2018-09-051-1/+2
|
* Fix shutdown hook failures in tests (#422)aosagie2018-09-021-1/+2
| | | | | | * Remove duplication from ClassLoader.create * Prevent closing of context class loader in tests so that shutdown hooks can run
* Fix paths for ivy-style repos in grepJar (#412)Guillaume Martres2018-08-262-4/+8
|
* Update GenIdeaImpl.scalaLi Haoyi2018-08-251-1/+1
|
* Fix incremental compilation when a Scala project depends on a Java project ↵Guillaume Martres2018-08-259-128/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#414) * Upgrade ammonite to 1.1.2-30-53edc31 This is mainly to get https://github.com/lihaoyi/Ammonite/pull/851 which should reduce the amount of unnecessary work done by incremental compilation in the Mill build. This requires some code changes since this means we now depend on a more recent version of coursier, as a side-effect this means that we do not depend on scalaz anymore. Also use the same ammonite version in the Mill build and in ScalaModule#ammoniteReplClasspath. Also remove an incorrect dependency in the caffeine integration test. This was always wrong but did not start failing until this commit, probably due to dependencies appearing in a different order on the classpath. * Rename ScalaWorker to ZincWorker Starting with the next commit, it will be used in Java-only projects too, so the name is misleading. * Upgrade to Zinc 1.2.1 * Fix incremental compilation when a Scala project depends on a Java project Before this commit, JavaModule#compile simply called javac unconditionally, thus generating new classfiles every time. But if a Scala project depends on a Java project, this will throw off the incremental compilation algorithm which will unnecessarily recompile files. To avoid this we now use Zinc to compile Java projects too (as a bonus this means that Java compilation becomes incremental). This required some refactoring in ZincWorkerImpl to be able to compile stuff without having to pass Scala-specific options. The issue solved by this commit could be reproduced by running in the Mill repository: $ mill main.compile $ mill -i @ main.compile() and observing that before this commit, the `main.compile()` call ended up recompiling code.
* more terminology fixesLi Haoyi2018-08-221-1/+1
|