summaryrefslogtreecommitdiff
path: root/build.sc
Commit message (Collapse)AuthorAgeFilesLines
* Generate Versions file (#688)Tobias Roeser2019-09-061-5/+23
|
* Upgrade scoverage: 1.3.1 -> 1.4.0 (#687)Fabian Heredia Montiel2019-09-041-2/+3
|
* Bump flyway version (#686)Nathaniel Fischer2019-09-041-1/+1
|
* Moved dependency declarations to central shared place (#680)Tobias Roeser2019-09-021-44/+87
|
* Fixed deprecated API useTobias Roeser2019-08-261-1/+1
|
* add ability to define jar manifest (#634)Andrew Richards2019-07-291-0/+1
| | | | | | | | | | | | | * 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
* update readmeLi Haoyi2019-07-101-1/+1
|
* Interpolates $MILL_VERSION in ivy imports (#649)Olivier Mélois2019-07-081-2/+18
| | | | | | | | | | | | | | | | | | | | * 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
* make use of mill file if it exists and we're not already using itLi Haoyi2019-07-081-8/+6
|
* fixLi Haoyi2019-07-081-2/+1
|
* fixLi Haoyi2019-07-081-7/+1
|
* fixLi Haoyi2019-07-081-1/+1
|
* fixLi Haoyi2019-07-081-2/+2
|
* separate launcher from executable assemblyLi Haoyi2019-07-081-48/+22
|
* Consolidate ./mill and ./millw script (#650)Li Haoyi2019-07-081-1/+1
| | | | | | * . * ensure MILL_VERSION environment variable always takes precedence over .mill-version file, which takes precedence over DEFAULT_MILL_VERSION
* Scoverage buildinfo support (#647)Nik Vanderhoof2019-07-041-0/+6
| | | | | | * Add test case for scoverage/buildinfo * Take generatedSources from outer + pass allSources to scoverage reports
* Fix build, split up release and assembly (#643)Li Haoyi2019-07-011-30/+57
| | | | | | | | | | * . * . * use non-version-changing executable for integration tests * Update test-mill-1.sh
* add os-lib import to build.scLi Haoyi2019-07-011-0/+1
|
* scrape ./mill wrapper script for mill version, instead of exec-ing itLi Haoyi2019-07-011-9/+31
|
* Delegate to `./mill` wrapper script from launcherLi Haoyi2019-06-291-1/+10
| | | | | | | Only delegate if the file exists, and we are not currently being delegated to. This makes the installed launcher automatically download the correct version of itself to run the build, assuming a `./mill` wrapper script exists
* more fixes for scalajs envLi Haoyi2019-06-131-2/+8
|
* Allow configuration of JSEnv used for Scala.js tests and runs (#628)Li Haoyi2019-06-131-1/+3
| | | | | | | | * . * . * .
* Bloop config for Js/Native modules (#617)Olivier Mélois2019-05-281-1/+2
| | | | This generates correct bloop configuration for ScalaJs/ScalaNative module.
* Merge branch '599'Li Haoyi2019-05-201-2/+31
|\
| * Merge branch 'master' into dockerLi Haoyi2019-05-191-3/+38
| |\
| | * Switch from scalafmt-cli to scalafmt-dynamic (#600)Guillaume Galy2019-05-191-1/+2
| | |
| | * Add support for Scoverage (#571)Nik Vanderhoof2019-05-191-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add initial work for ScoverageModule * style: Move package scoverage from lib to contrib Suggested by @lefou > I think, it would be better to add under `mill.contrib.scoverage`. Pull request: #571 * Initial changes to non-hardcoded scoverage version * Using task context api to specify dataDir Now measurement data will be written to: PROJECT_ROOT/out/MODULE/scoverage/data/ and the html report will be written to: PROJECT_ROOT/out/MODULE/scoverage/data/htmlReport/ * Remove wild card imports in scoverage Also remove scoverage dependency from build.sc * Move htmlReport into worker Based on what I've seen in scalalib, scalajslib, scalanativelib, playlib, and twirllib modules. Still need to add tests * Add basic docs + tests for scoverage I still am working on testing the actual generation of reports. * Use cross-module for scoverage worker Now we can support multiple versions of scoverage by adding them to the crossmodule list. Also now running the local publish script succeeds. * Add scoverage to ci tests * Add detailed ScoverageModule documentation * Test scoverage dataDir * Remove <pre> tags in scaladoc * Add scoverage dependency in less hacky way * Modify scoverage tests to check classpaths * Put docs in alphabetical order * Test classpaths for scoverage runtime * Remove abstract def test: ScoverageTests * Construct classloader differently * Revert "Construct classloader differently" This reverts commit fccf9a94cc38fb9e2be58a9ff90b00b65f339db6. * Revert "Construct classloader differently" Also fixes unfound error in html report This reverts commit fccf9a94cc38fb9e2be58a9ff90b00b65f339db6. * Fix classpath for scoverage worker
| * | Contrib module for building docker imagesNathan Fischer2019-04-221-0/+4
| | |
* | | Merge branch '600'Li Haoyi2019-05-201-1/+2
|\ \ \
| * | | Switch from scalafmt-cli to scalafmt-dynamicUnknown2019-04-211-1/+2
| | | |
* | | | Bump ammonite to 1.6.7 (#610)Li Haoyi2019-05-191-2/+4
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bump ammonite to 1.6.7 * upgrade all the things * add scalaj-http shims for bootstrapping * wip * tweak-error-message * tweak coursier * .
* | | Beginning of Bloop integration (#595)Olivier Mélois2019-04-251-0/+9
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sync with latest versions, started bloop connection * BloopModule back to the bare minimum * Added first Bloop related unit-tests * More tests * Fixed global module usage. * Added resolution in bloop config * More tests, using correct repository list * revert dev change * Changed moduleSourceMap implementation * Using path-dependant trait for the module This facilitates testing by preventing the trait from referencing a global module. * Added semanticDB to bloopConfig * Added documentation * Install returns pathRefs instead of paths * bumped semanticDB * Better use of mill's cache, avoid duplication of work * addressing comments
* / Revert Zinc to 1.2.5 to match release notes (#594)Ahir Reddy2019-04-171-1/+1
|/
* Bump graphviz and JGraphT versions (#573)André L. F. Pinto2019-04-171-2/+2
|
* tidy up Nathan Fischer2019-04-171-1/+0
|
* Flyway moduleNathan Fischer2019-04-171-0/+6
|
* Properly respect JAVA_HOME env varTobias Roeser2019-03-131-6/+13
|
* Reworks version specific keys and extractionJean Helou2019-03-111-6/+5
| | | | | | | Route compilation workers are specific to play minor version but still added a patch level version in the key. The playMinorVersion used to compute the version part of the key had to add a useless trailing `.0`, this is now fixed.
* Add trait to configure twirl integration for playframeworkJean Helou2019-03-111-1/+1
|
* Cleanup useless play version mappingsJean Helou2019-03-111-3/+2
|
* Adjusts the main build file to match the new playlib module designJean Helou2019-02-141-2/+36
|
* Keep twirllib moduleGuillaume Grossetie2019-02-141-1/+4
|
* Create a Play! module to compile the routerGuillaume Grossetie2019-02-141-1/+1
|
* More improvements to ZincWorkerImpl (#526)Li Haoyi2019-01-111-1/+1
| | | | | | | | | | | | | | * 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
* bump Ammonite versionLi Haoyi2018-12-191-1/+1
|
* Merge branch 'master' into bump-zincLi Haoyi2018-12-191-2/+2
|\
| * Bump Mill Scala version to 2.12.8 (#507)Li Haoyi2018-12-121-2/+2
| |
* | 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-121-16/+31
| | | | | | | | | 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
* bump ammonite versionLi Haoyi2018-12-111-1/+1
|