aboutsummaryrefslogtreecommitdiff
path: root/stage2/BasicBuild.scala
Commit message (Collapse)AuthorAgeFilesLines
* Implement alternative resolversChristopher Vogt2016-04-031-20/+7
| | | | | | | | | | | | This commit also - requires Dependencies to explicitly implement canBeCached - unifies some logic for dependency downloading - moves SBT-like dependency DSL into its own trait - error message showing build directory for exceptions in builds Not splitting this up in favor of faster progress to 1.0. The user facing API can probably be slightly improved using implicits inside of BasicBuild, but we can do that later.
* propagate info if cbt has changed across builds, so they can be re-compiledChristopher Vogt2016-04-021-4/+4
|
* only compile and only produce jars if there are actually files.Christopher Vogt2016-04-021-3/+3
| | | | This seem desirable, but also fixes a test failure for which I have no idea why it didn't fail before but now.
* Makes zinc usage smarter, so we do not need to call it when no files changed ↵Christopher Vogt2016-03-301-22/+15
| | | | | | (and safe up to 0.1s for each call) There still seem to be 2 bugs related to CBT development in the code. One if you simpy save a stage1 file unchanged and re-run cbt, it fails to call Stage2.run reflectively. Also in case of compile errors in stage1, a TrappedExitCode exception is thrown and not caught.
* replace Scala reflection with Java reflection seems to fix the weird ↵Christopher Vogt2016-03-281-3/+1
| | | | exceptions that happened in the previous commit. Also gets rid of scala.reflect dependency in stage2.
* get rid of ammonite dependencyChristopher Vogt2016-03-191-2/+0
|
* Refactored ClassLoaderCache to use key locked cache to pave the way for ↵Christopher Vogt2016-03-191-2/+3
| | | | caching classloaders hierarchically without deadlocks
* make scaffold work for simple caseChristopher Vogt2016-03-191-5/+1
|
* sort transitiveDependencies by exported classpath for hopefully more ↵Christopher Vogt2016-03-121-0/+1
| | | | determinism between dev machines and circle ci
* Merge remote-tracking branch 'origin/master' into farmdawg/zinc-exit-codesChristopher Vogt2016-03-121-7/+18
|\ | | | | | | | | | | # Conflicts: # stage1/Stage1Lib.scala # stage1/resolver.scala
| * Improved how to express dependenciesChristopher Vogt2016-03-121-7/+18
| | | | | | | | | | | | Add - Constructor syntax for cross-scala-version dependencies (as rightfully requested on reddit) and encouraged over SBT's still supported operator syntax - Add support for classifiers other than "sources"
* | minor simplification renamesChristopher Vogt2016-03-121-3/+2
| |
* | Clean up some of the zinc invocation.Matt Farmer2016-03-121-1/+1
| |
* | Whitespace removal.Matt Farmer2016-03-121-3/+3
|/
* Split ClassLoader classes into separate files and a few fixesChristopher Vogt2016-03-111-2/+2
|
* normalize Build's projectDirectory and stop using context.cwdChristopher Vogt2016-03-081-3/+3
|
* cleanup: whitespace changes, separated more things into their own files, use ↵Christopher Vogt2016-03-071-0/+164
++ for strings everywhere. Added ++ method to File and URL and use it in many places