Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | close jar file in case of exception (#175) | Jan Christopher Vogt | 2016-06-23 | 1 | -20/+22 |
| | |||||
* | Scalafmt plugin implementation (#156) | Nikolay Tatarinov | 2016-06-23 | 1 | -0/+1 |
| | | | | | | | | | | | | | | * 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 | ||||
* | scalariform plugin naive implementation | rockjam | 2016-06-20 | 1 | -0/+1 |
| | |||||
* | refactor/simplify scalaJs plugin and example | Christopher Vogt | 2016-06-19 | 1 | -0/+1 |
| | | | | | | - Restructure code as 1 library case class and 1 Build mixin trait. A library is generally easier to understand and could be re-used independently. 1 trait seems simpler than several here. - Let not the plugin create the multi-project build, but the user project manually. I think while this adds some minor code overhead it is much simpler to understand. Fewer tasks and other moving parts needed. - Remove verbose nested sbt-style folder structure. It's simpler without it :). | ||||
* | better name for DirectoryDependency | Christopher Vogt | 2016-06-19 | 6 | -117/+17 |
| | | | | | seems to be more precise than BuildDependency, hence hopefully more readable also cleaned up Scaffolding and added DirectoryDependency example | ||||
* | built-in plugin structure improvements | Christopher Vogt | 2016-06-19 | 6 | -71/+56 |
| | | | | | | - move plugins into cbt namespace - enable scalac warnings in builds by default - merged language flags into AdvancedScala trait | ||||
* | simplify logic that delegates to test build and runs it | Christopher Vogt | 2016-06-19 | 2 | -25/+6 |
| | |||||
* | fix organization URL type | Christopher Vogt | 2016-06-19 | 1 | -1/+2 |
| | |||||
* | add support for compile time only dependencies | Christopher Vogt | 2016-06-15 | 1 | -1/+4 |
| | |||||
* | separate sbt layout and scalatest plugins and create a more general plugin ↵ | Christopher Vogt | 2016-06-15 | 2 | -6/+15 |
| | | | | architecture | ||||
* | Get rid of Build default imports to reduce noise in build files. This also ↵ | Christopher Vogt | 2016-06-15 | 11 | -48/+9 |
| | | | | changes builds from using immutable.Seq to using Predef.Seq in favor of simplicity over purity. This has been discussed on gitter. | ||||
* | support for git dependencies on projects in subdirectories | Christopher Vogt | 2016-06-15 | 2 | -11/+16 |
| | |||||
* | turn Build base classes into traits for less verbosity and uniform usage ↵ | Christopher Vogt | 2016-06-15 | 8 | -21/+25 |
| | | | | with any other plugin | ||||
* | adjust organization part of pom data model to better match the spec | Christopher Vogt | 2016-06-15 | 3 | -10/+14 |
| | |||||
* | get rid of pomExtra to not promote untyped ways of creating poms (people can ↵ | Christopher Vogt | 2016-06-15 | 2 | -4/+0 |
| | | | | always transform the xml later if really needed) | ||||
* | Add typed open source licenses | Christopher Vogt | 2016-06-15 | 1 | -4/+52 |
| | |||||
* | pre-configuration for github projects and recommended settings (maybe rename ↵ | Christopher Vogt | 2016-06-15 | 3 | -1/+19 |
| | | | | this later) | ||||
* | less need for pomExtra | Christopher Vogt | 2016-06-15 | 2 | -0/+14 |
| | |||||
* | starting point for type-safe licenses | Christopher Vogt | 2016-06-15 | 2 | -1/+9 |
| | |||||
* | scalajs cross project support as plugin | Katrin Shechtman | 2016-06-13 | 1 | -7/+5 |
| | |||||
* | scala paradise plugin | Christopher Vogt | 2016-06-09 | 1 | -0/+29 |
| | |||||
* | Always create directory before trying to write file | Christopher Vogt | 2016-06-08 | 4 | -7/+6 |
| | |||||
* | Make publishSnapshot also publish checksums | Christopher Vogt | 2016-06-01 | 1 | -11/+13 |
| | |||||
* | pass command line arguments through to cbt tools scala and cbt tools amm | Christopher Vogt | 2016-06-01 | 1 | -4/+5 |
| | |||||
* | update ammonite (doesn't help though, still doesn't start through cbt tools) | Christopher Vogt | 2016-06-01 | 1 | -1/+1 |
| | |||||
* | minor cleanup | Christopher Vogt | 2016-06-01 | 2 | -2/+1 |
| | |||||
* | Show more info on stderr when uploading files | Christopher Vogt | 2016-06-01 | 1 | -1/+1 |
| | |||||
* | read sonatype credentials from cbt installation, not from other checked out ↵ | Christopher Vogt | 2016-05-26 | 2 | -1/+2 |
| | | | | version | ||||
* | Publish to right destination based on version suffix | Christopher Vogt | 2016-05-26 | 2 | -8/+11 |
| | |||||
* | Fix scalaMajorVersion in artifact id | Christopher Vogt | 2016-05-26 | 2 | -3/+6 |
| | |||||
* | Fix bug in jar contents path. Should be relative, not absolute. | Christopher Vogt | 2016-05-25 | 1 | -1/+1 |
| | |||||
* | Hack to not display ExitCode unnecessarily | Christopher Vogt | 2016-05-11 | 1 | -2/+3 |
| | |||||
* | add r alias for run | Christopher Vogt | 2016-05-03 | 1 | -0/+1 |
| | |||||
* | annotate required return type of main method | Christopher Vogt | 2016-05-03 | 1 | -1/+1 |
| | |||||
* | improve build file templates | Christopher Vogt | 2016-05-03 | 1 | -18/+28 |
| | |||||
* | encourage whitespace in parenthesis (more readable ;)) | Christopher Vogt | 2016-05-03 | 1 | -6/+6 |
| | |||||
* | create scaffolding for Main file | Christopher Vogt | 2016-05-03 | 2 | -2/+13 |
| | |||||
* | Convenience factory methods for Resolvers | Christopher Vogt | 2016-05-03 | 4 | -52/+43 |
| | |||||
* | rename admin into tools, which seems more appropriate | Christopher Vogt | 2016-05-02 | 2 | -7/+7 |
| | |||||
* | fix exit code return | Christopher Vogt | 2016-04-29 | 1 | -6/+6 |
| | |||||
* | Fix use compatibility interfaces from main cbt | Christopher Vogt | 2016-04-29 | 1 | -3/+1 |
| | |||||
* | Fix building cbt as a cbt project | Christopher Vogt | 2016-04-29 | 3 | -5/+10 |
| | |||||
* | Support recursively running tasks across all builds in transitive dependencies | Christopher Vogt | 2016-04-28 | 1 | -0/+48 |
| | |||||
* | Reproducible builds, composing different CBT version and various improvements | Christopher Vogt | 2016-04-28 | 11 | -119/+197 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | only run tests if there are actually tests to run (useful for recursively ↵ | Christopher Vogt | 2016-04-28 | 2 | -14/+18 |
| | | | | running tests in nested projects) | ||||
* | Build mixin with recommended settings | Christopher Vogt | 2016-04-28 | 1 | -1/+12 |
| | |||||
* | make cacheabilty of git dependency depend on cacheability of it's build. ↵ | Christopher Vogt | 2016-04-28 | 1 | -13/+16 |
| | | | | Also separate out regex, so we can use it to detect cbt version urls later | ||||
* | from from File to Path directly | Christopher Vogt | 2016-04-28 | 1 | -2/+3 |
| | |||||
* | move soure file filterin logic into library for reusability | Christopher Vogt | 2016-04-28 | 2 | -8/+11 |
| | |||||
* | Make sonatype credentials customizable from Build class rather than hard coded | Christopher Vogt | 2016-04-28 | 2 | -11/+23 |
| |