| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix #233 add append and exclude rules to assembly
* handle existing files and concatenation when file already exists in assembly
* add assembly tests for append rules
* tests for append patterns
* tests for exclude patterns
* make append algorithm use single map with fold over classpathIterator
* move assembly rules logic to method
* move grouping method to Assembly object, make assemblyRules Seq[_] rather than T[Seq[_]]
* add test cases for when there are no rules
* keep default parameter in createAssembly not to break CI
* add one more reference.conf entry to tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve Intellij Idea support
Improves the Intellij Idea support in various ways :
* Cherrypicks the idea conf that needs deleting rather than deleting
the whole .idea directory. That directory contains elements of
configuration like VCS reference that were annoying to set again
every time mill regenerated idea config.
* Attempts to retrieve libraries that the build depends on by inspecting
the classloader of the top module
* Attempts at grouping jars and sources together in order to have both
in the same idea files, which appears to give better jump to definition
* Hacks the library names for the libraries the build depends on, in
order to match Intellij's ammonite support and not show red to the user
about the library that has successfuly been resolved. Also allows to
jump to the library sources from the magic import.
* Remove un-necessary filters
* Avoid Agg throwing because of duplicated build libraries
* Removing hardcoded version from SBT idea module names
|
| |
|
|
|
| |
fix the syntax for the test output and resource folders
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add scalafmt module, that formats all sources files on every run
* scalafmt worker that internally chaches reformatted files
* move jvm process call to helper method
* use scala 2.12.4 to resolve scalafmt deps; check for config file existence; add quiet flags to scalafmt CLI
* make a scalafmt worker a singleton
* add tests for scalafmt module
* add reformatAll command
* tests for reformatAll command
* add docs about scalafmt support
|
|
|
|
|
|
|
|
| |
* mark test module as test sources
* add test case for test module in GenIdea
* fixes #201 change mill project path for sbt and maven tests
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes https://github.com/lihaoyi/mill/issues/279
|
|
|
|
| |
Needed to fix https://github.com/lihaoyi/mill/issues/286
|
| |
|
| |
|
|
|
|
| |
Plus a couple tests to sanity check.
|
| |
|
| |
|
|
|
|
| |
new resolveFooDependency methods
|
| |
|
|\
| |
| |
| |
| |
| | |
# Conflicts:
# .travis.yml
# scalalib/src/mill/scalalib/Dep.scala
|
| |
| |
| |
| | |
scala-library/compiler) and for typelevel scala
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
* doc to address #187 and #246
* add exclusions and custom configuration to dependencies and tests
|
|/
|
|
|
|
| |
`runClasspath`; only the ivy coordinates are aggregated, and every module resolves it's own set of ivy jars using coursier, which avoids duplicate jars entering the classpath through ivy
Fixes https://github.com/lihaoyi/mill/issues/211
|
|
|
|
|
|
|
|
|
|
| |
* fix class loading for inprocess in java 9
* always add rt jar in case of java 9
* move all custom classloading logic into mill.util.ClassLoader
* add comments explaining parent class loader changes and comment in tests pointing to original issue
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* return full scala version for milestone releases
* complete support for scala 2.13.0-M2
* match 2.13 milestone releases for compiler bridge sources
* add hello world test case for scala 2.13.0-M3
|
|
|
|
|
|
|
|
|
|
| |
9 (#217)
* Append "exported rt.jar" when creating URLClassLoader.
* Disabled tests involving Scala 2.10 & 2.11 and nashorn.
* Use java.net.URLClassLoader.
|
| |
|
| |
|
|
|
|
|
|
| |
* Fix several issues in VersionControl & add Test
* Move VersionControl to it's own file
|
|
|
|
| |
Also re-write `Jvm.createAssembly` to allow incremental assembly construction. This should allow much faster assembly creation in the common case where upstream dependencies do not change
|
|
|
| |
The scm url syntax is a source of confusion for developper. I added VersionControl.github() to simplify this process. We can add other common VersionControl url scheme like Bazar, etc.
|
|
|
|
|
|
| |
* Add predefined licenses from spdx
* Fix License usages
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* extract JDK version so you don't have to keep resetting it
* give modules a base path
looks much nicer in IntelliJ - the module is now in bold
* exclude sbt target directories
stops sbt artifacts appearing in search
* Fix #147 - add IntelliJ scala library
* exclude root sbt project and target folders from IJ search
* only resort to full long path names for jars if the name is a duplicate
duplicates are hard to find unless you are pulling the same thing from different repos (therefore different path)
* update GenIdea tests
* tidy GenIdea
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also standardize the `HelloWorldTests` onto the typical project layout, where the module of interest is nested within a top-level `BaseModule`
|
| |
|