aboutsummaryrefslogtreecommitdiff
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* improve sonatype pluginChristopher Vogt2017-03-045-109/+70
| | | | | | - reduce required tasks in favor of using SonatypeLib.copy - improve log messages - automatically release non-snapshots after uploading
* use scoping instead of hard coded snapshot taskChristopher Vogt2017-03-042-8/+3
|
* [sonatype] unify sonatype plugin code-style with rest of cbtChristopher Vogt2017-03-044-42/+44
| | | | | | | - indent parameter lists like other cbt code - avoid stripMargin for style reasons also add logger, eventhough not used right now
* TypeTag instead of ClassTag for DynamicOverride as preparation for ↵Christopher Vogt2017-03-021-4/+6
| | | | supporting multiple traits
* add comprehensive, type-safe proguard pluginChristopher Vogt2017-03-015-0/+712
| | | | | this also demonstrates how to programmatically generate an extensive, type-safe api for a stringly-typed interface
* fix scalafmt not printing number of formatted filesChristopher Vogt2017-03-011-1/+2
|
* introduce libraries helper objectChristopher Vogt2017-03-011-1/+1
|
* simplify uberJar plugin and activate recursiveDelete lib functionChristopher Vogt2017-02-281-95/+58
|
* jar / doc refactorChristopher Vogt2017-02-281-1/+1
| | | | | | - split out manifest and scaladoc logic - refactor lib calls from inheritance layer - only strip project directory prefix from individually specified files
* use `name` instead of `projectName` as it is more universal and theChristopher Vogt2017-02-271-1/+1
| | | | term `project` is probably going away in cbt.
* comments to move a bunch of things into stage2Christopher Vogt2017-02-274-1/+5
|
* fix / cleanup scalajs pluginChristopher Vogt2017-02-272-22/+9
| | | | | | - create target directory if not existent - remove dead code wrt modes - default path for generated .js file
* upgrade and simplify scalafmt pluginChristopher Vogt2017-02-272-43/+24
|
* Merge pull request #356 from cvogt/discover-subbuildsJan Christopher Vogt2017-02-221-2/+4
|\ | | | | treat subdirectores as subbuilds via cmd line
| * treat subdirectores as subbuilds via cmd lineChristopher Vogt2017-02-221-2/+4
| |
* | refactor scalajs to make use of nested builds for scopingChristopher Vogt2017-02-222-23/+18
| |
* | allow plugins to access essential pluginsChristopher Vogt2017-02-222-10/+13
|/
* simplify and add features to reflective task lookup codeChristopher Vogt2017-02-181-8/+8
| | | | | | | | | | | | | Code is much simpler now. Now cbt sub-tasks are separated by . instead of spaces to unify the syntax with method calls Scala. Also the reflective code now works not only on builds but any kind of values, so zero argument members of any types of return values can simply be called. This is also a large step towards detangling the reflective lookup from cbt and turning it into a fully fletched shell to Scala "native" call solution.
* minor whitespace and name changesChristopher Vogt2017-02-141-6/+6
|
* implicitly pass classloader, might make code easierChristopher Vogt2017-02-143-12/+6
| | | | | and prepares for allowing `run` and `runFlat` at Dependency instead of Build level
* Add support for nested builds and use it to replace cross compilationChristopher Vogt2017-02-131-0/+9
| | | | | | | | command which was previously hard-coded This will allow multi-project builds, too but we should first fix caching across instances and GitDependencies on sub-builds within other repositories.
* make sure jar, tests and main classes use the right directoriesChristopher Vogt2017-02-131-1/+1
|
* support for flat classloader and enhanced resources exampleChristopher Vogt2017-02-131-0/+4
|
* idempotent change propagationChristopher Vogt2017-02-094-5/+5
| | | | | | using lastModified instead of a non-idempotent needsUpdate flag this fixes a bug where dependees would not be rebuilt if cbt exited or was killed after dependencies were already rebuilt.
* memoize task results across classes within a single runChristopher Vogt2017-02-092-5/+7
|
* Merge pull request #311 from cvogt/remove-dot-copyJan Christopher Vogt2016-11-131-2/+0
|\ | | | | reduce usage of .copy as preparation to replace it with newBuild
| * reduce usage of .copy as preparation to replace it with newBuildChristopher Vogt2016-11-131-2/+0
| |
* | enhance dynamic override to not use codegen when possibleChristopher Vogt2016-11-131-31/+39
|/ | | | + minor refactorings
* Remove version from context, we can now use dynamic overridesChristopher Vogt2016-11-091-0/+8
|
* Add support for dynamic re-configuration.Christopher Vogt2016-11-084-0/+100
| | | | | The exact precedence rule of override code vs original code may still need to be tweaked as we go along.
* Merge pull request #261 from cvogt/simple-exampleJan Christopher Vogt2016-10-041-0/+5
|\ | | | | Simple example
| * readmes explaining plugin folder rolesChristopher Vogt2016-09-291-0/+5
| |
* | Sonatype release plugin (#247)Nikolay Tatarinov2016-10-036-0/+513
| |
* | upgrade scalafmt 0.3.1 -> 0.4.2; load scalafmt config from config filerockjam2016-10-022-12/+44
| |
* | fix main method signature in dotty-exampleChristopher Vogt2016-10-021-1/+1
|/
* Upgrade scalafmt 0.2.5 -> 0.3.1rockjam2016-09-192-3/+4
|
* WartRemover plugin implementation (#167)Mario Pastorelli2016-09-142-0/+60
|
* include directories from classpath in uber jar. fixes multi project jarsrockjam2016-06-241-9/+6
|
* explicitly specify jar extension, delete file before writing jar in librockjam2016-06-241-19/+9
|
* uber jar put all functions in one classrockjam2016-06-242-86/+76
|
* update uber jar PRrockjam2016-06-243-162/+55
|
* write current jdk version to MANIFEST.MFrockjam2016-06-241-5/+13
|
* uber-jar plugin implementationrockjam2016-06-244-0/+249
|
* Scalafmt plugin implementation (#156)Nikolay Tatarinov2016-06-233-5/+82
| | | | | | | | | | | | | | * 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 implementationrockjam2016-06-202-0/+71
|
* refactor/simplify scalaJs plugin and exampleChristopher Vogt2016-06-194-118/+103
| | | | | | - 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 :).
* add support for custom scalaJsOptionsChristopher Vogt2016-06-191-2/+7
|
* propagate trigger files to combined cross build and let js tasks depend on ↵Christopher Vogt2016-06-191-2/+9
| | | | compile. this makes `cbt loop fastOptJs` work (and depending on compile seems generally a good idea)
* use long versions of scalajs linker flags for easier understandabilityChristopher Vogt2016-06-191-4/+4
|
* fix scalajs example (broke in recent refactorings and went unchecked)Christopher Vogt2016-06-191-1/+0
|