Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for dynamic re-configuration. | Christopher Vogt | 2016-11-08 | 1 | -2/+73 |
| | | | | | The exact precedence rule of override code vs original code may still need to be tweaked as we go along. | ||||
* | upgrade hard-coded git hash dependencies after tests pass | Christopher Vogt | 2016-11-08 | 4 | -4/+4 |
| | |||||
* | upgrade hard-coded git hash dependencies | Christopher Vogt | 2016-11-08 | 4 | -4/+4 |
| | |||||
* | add context based task result cache | Christopher Vogt | 2016-11-08 | 1 | -0/+1 |
| | |||||
* | Fix bug in tests that could block infinitely | Christopher Vogt | 2016-11-07 | 1 | -10/+15 |
| | |||||
* | Make Eval tests pass and add them to cbt tests | Christopher Vogt | 2016-11-07 | 1 | -0/+6 |
| | |||||
* | add tests for cross-cbt-version exit code and err/out directing | Christopher Vogt | 2016-10-14 | 4 | -6/+36 |
| | | | | also adds example for propagating build-time information into run time | ||||
* | tests for stderr and out behaving correctly for example of docJar | Christopher Vogt | 2016-10-13 | 1 | -0/+8 |
| | |||||
* | change git dependencies to be easier manageable when cbt becomes source ↵ | Christopher Vogt | 2016-10-03 | 4 | -7/+6 |
| | | | | incompatible | ||||
* | add sample library to test git dependencies | Christopher Vogt | 2016-10-03 | 2 | -0/+25 |
| | |||||
* | clean up main class discovery mechanism and offer interactive choice | Christopher Vogt | 2016-10-02 | 1 | -1/+2 |
| | | | | if multiple main classes are found | ||||
* | another test fix for an artifact that apparently disappeared on sonatype | Christopher Vogt | 2016-09-28 | 1 | -3/+3 |
| | |||||
* | disable test sporadically failing on circleci from circleci | Christopher Vogt | 2016-09-28 | 3 | -8/+11 |
| | |||||
* | set circle back to java7 to make sure cbt works there | Christopher Vogt | 2016-09-28 | 1 | -3/+7 |
| | | | | and disable dotty tests for java7, but run them otherwise, e.g. locally | ||||
* | prototype dotty doc generation, but that class does not exist | Christopher Vogt | 2016-09-28 | 1 | -0/+1 |
| | |||||
* | Dotty plugin and example project. | Christopher Vogt | 2016-09-26 | 1 | -0/+2 |
| | |||||
* | fix checksum check for downloaded jars by ignoring case | Christopher Vogt | 2016-09-15 | 1 | -0/+4 |
| | |||||
* | make tests check for wart-remover example expected compile failure (not success) | Christopher Vogt | 2016-09-14 | 1 | -1/+7 |
| | |||||
* | WartRemover plugin implementation (#167) | Mario Pastorelli | 2016-09-14 | 1 | -0/+2 |
| | |||||
* | fix task name appearing in args (#132) | Christopher Vogt | 2016-09-13 | 2 | -0/+8 |
| | |||||
* | better error message for missing build.scala and missing class Build | Christopher Vogt | 2016-09-12 | 5 | -0/+22 |
| | |||||
* | work correctly in the presence of empty build folders | Christopher Vogt | 2016-09-12 | 2 | -0/+5 |
| | |||||
* | test for good error message when Build did not extend BaseBuild | Christopher Vogt | 2016-09-12 | 2 | -0/+7 |
| | |||||
* | fix tests when nailgun started from different cwd | Christopher Vogt | 2016-09-12 | 1 | -3/+3 |
| | |||||
* | Add a bunch of options to try to allow safe usage of clean | Christopher Vogt | 2016-08-28 | 1 | -4/+17 |
| | | | | | | | try to make tests safer (fixed tests don't have clean yet, nothing has nothing to delete, so current test code would fail) | ||||
* | Add clean task | ChavXO | 2016-08-28 | 1 | -0/+11 |
| | |||||
* | uber-jar plugin implementation | rockjam | 2016-06-24 | 1 | -1/+3 |
| | |||||
* | add multi-project example (#158) | Jan Christopher Vogt | 2016-06-24 | 1 | -0/+1 |
| | | | | | | * add multi-project example * add shared build | ||||
* | Scalafmt plugin implementation (#156) | Nikolay Tatarinov | 2016-06-23 | 1 | -0/+4 |
| | | | | | | | | | | | | | | * scalariform: improve logging, declare tasks final * scalafmt plugin implementation * add scalafmt and scalariform plugins and examples to tests * fix logging guarded logging behaviour * add notes about formatting check to README * fix compilation error in examples | ||||
* | add scalajs example to tests | Christopher Vogt | 2016-06-19 | 1 | -3/+8 |
| | |||||
* | better name for DirectoryDependency | Christopher Vogt | 2016-06-19 | 1 | -2/+2 |
| | | | | | seems to be more precise than BuildDependency, hence hopefully more readable also cleaned up Scaffolding and added DirectoryDependency example | ||||
* | add plugin builds and scalatest example build to being compiled in tests | Christopher Vogt | 2016-06-19 | 2 | -1/+6 |
| | |||||
* | Get rid of Build default imports to reduce noise in build files. This also ↵ | Christopher Vogt | 2016-06-15 | 5 | -9/+0 |
| | | | | changes builds from using immutable.Seq to using Predef.Seq in favor of simplicity over purity. This has been discussed on gitter. | ||||
* | turn Build base classes into traits for less verbosity and uniform usage ↵ | Christopher Vogt | 2016-06-15 | 3 | -3/+3 |
| | | | | with any other plugin | ||||
* | scalajs cross project support as plugin | Katrin Shechtman | 2016-06-13 | 3 | -3/+3 |
| | |||||
* | Fix the tests, by adapting to recent CBT changes. (This was easier than I ↵ | Christopher Vogt | 2016-06-01 | 3 | -22/+23 |
| | | | | expected) | ||||
* | Update fixed dependency hash to latest | Christopher Vogt | 2016-06-01 | 1 | -1/+1 |
| | |||||
* | add dependency to tests which currently fails | Christopher Vogt | 2016-05-03 | 1 | -0/+2 |
| | |||||
* | Convenience factory methods for Resolvers | Christopher Vogt | 2016-05-03 | 2 | -47/+47 |
| | |||||
* | add test info for currently failing dependency | Christopher Vogt | 2016-05-02 | 1 | -0/+2 |
| | |||||
* | fix test to use repo actually generally available | Christopher Vogt | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | Fix and enable test for reproducible builds | Christopher Vogt | 2016-04-29 | 2 | -3/+4 |
| | |||||
* | Reproducible builds, composing different CBT version and various improvements | Christopher Vogt | 2016-04-28 | 5 | -21/+87 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One large commit, because it is was hard to do these things in isolation or to separate them now. CBT now knows how to load other versions of itself - Support for reproducible builds (!), by providing a CBT git URL and hash to tie build to - Support for composing builds using different CBT versions (!) - introduce (in compatibility/) Java interfaces all CBT versions need to stay compatible with, so they can talk to each other. And put extension methods to these interfaces in cbt package object Class loading - add some sanity checks for class loading - improve class loader invalidation to fix bugs - implement caching in Java land class loaders. In particular to prevent the system class loader to repeatedly generate ClassNotFound exceptions in each sink of the class loader DAG for non JDK classes (meaning major speed up for projects with many classes). - getting rid of transient class loader cache unifying into "persistent" one instead (which is still wrong as invalidation eventually needs to invalidate entire sub graphs of the class loading DAG, not single class loaders. Seems like we'll have to abandon the hashmap based approach and tie caching to dependency objects) Other Caching - cache dependencies extracted from xml files, which was one major time killer, but invalidate cache when cbt changed (maven dependency user facing api needs simplification now!) - memorize last successful compile time in the file system rather than memory, to guard against unnecessary recompiling even across launches (or when using cbt direct) Structural improvements - Factor out ClassLoaderCache on Java land into its own class. - Port MultiClassLoader to Java land, to better compose classloaders in NailgunLauncher. - Remove many global constants and variables (in object paths and in NailgunLauncher) and pass them through instead. Needed for composing of builds. - move more code from resolver into Lib for less entanglement with classes (needed to compatibility interfaces) and better re-usability - remove canBeCached. Everything can be cached now, but we need to be careful about correct invalidation. - remove build announcing produced jars. We can add if ever needed. - change callNullary to return exit code instead of Unit as preparation for next commit introducing "recursive" ScalaTest - Makes ScalaTest support work (still a bit too inflexible, but mostly works well) | ||||
* | add commented out test case for resolving maven version ranges | Christopher Vogt | 2016-04-28 | 1 | -0/+3 |
| | |||||
* | Allow substituting POM variables inside of strings, not only entire elements | Christopher Vogt | 2016-04-08 | 1 | -1/+3 |
| | |||||
* | cross building and automatic snaphot ids | Christopher Vogt | 2016-04-07 | 1 | -1/+1 |
| | | | | | Adds support for cross building for multiple scala versions And for automatically appending -SNAPSHOT to the id, when publishing a snapshot. | ||||
* | Correctly interact with build in cwd instead of loading it's managed build ↵ | Christopher Vogt | 2016-04-06 | 1 | -1/+1 |
| | | | | in case of a BuildBuild. | ||||
* | Finally get rid of JDK 8 dependencies | Christopher Vogt | 2016-04-04 | 1 | -1/+1 |
| | |||||
* | Implement alternative resolvers | Christopher Vogt | 2016-04-03 | 2 | -24/+63 |
| | | | | | | | | | | | | 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-compiled | Christopher Vogt | 2016-04-02 | 1 | -1/+1 |
| |