summaryrefslogtreecommitdiff
path: root/build.sbt
Commit message (Collapse)AuthorAgeFilesLines
* bump version (now 2.12.2) + and STARR (now 2.12.1)Seth Tisue2016-12-051-1/+1
| | | | as we normally do post-release
* Merge pull request #5532 from retronym/ticket/SD-264Adriaan Moors2016-11-161-1/+1
|\ | | | | Reinstate MiMa and address problems
| * Workaround a bug that rendered MiMa inoperativeJason Zaugg2016-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | MiMa has been off-duty because of a bug in handling the default value of the new paramter `--direction`. This commit explicitly provides this parameter to get things working again post haste. Fixes scala/scala-dev#264
* | Merge pull request #5530 from dwijnand/j-single-unitStefan Zeiger2016-11-161-0/+1
|\ \ | |/ |/| Avoid double-compiling junit sources
| * Avoid double-compiling junit sourcesDale Wijnand2016-11-161-0/+1
| | | | | | | | Fixes scala/scala-dev#266
* | Merge pull request #5512 from szeiger/wip/more-compiler-scaladocSeth Tisue2016-11-151-0/+10
|\ \ | |/ |/| Add “test”, “scaladoc” and “repl” projects to scala-compiler docs
| * Add “test”, “scaladoc” and “repl” projects to scala-compiler docsStefan Zeiger2016-11-081-0/+10
| | | | | | | | This makes the scaladoc bundle for scala-compiler consistent with the binary and source bundles.
* | Define the root sbt project's scalaVersionDale Wijnand2016-11-101-6/+3
| | | | | | | | | | | | | | | | | | The root project is commonly used as the reference point for values, such as "the scala version" of the (entire) project. For example ENSIME uses it like that. Also disablePublishing already disables publish and publishLocal.
* | Merge pull request #5501 from SethTisue/sbt-deprecationsJason Zaugg2016-11-101-63/+70
|\ \ | | | | | | avoid deprecated sbt 0.12 operators
| * | sbt build: omit `: _*` when calling `.settings`Seth Tisue2016-11-081-51/+51
| | | | | | | | | | | | this is allowed in recent sbt versions
| * | Don’t rely on deprecated ScalaInstance methodsStefan Zeiger2016-11-071-2/+6
| | |
| * | Avoid 2 more deprecated sbt 0.12 operatorsDale Wijnand2016-11-041-1/+1
| | |
| * | avoid deprecated sbt 0.12 operatorsSeth Tisue2016-11-041-9/+12
| |/
* | Merge commit 'fe47ef0' into 2.12.xJason Zaugg2016-11-081-0/+4
|\ \ | |/ |/|
| * Merge pull request #5504 from retronym/topic/sbt-macro-warnSeth Tisue2016-11-071-0/+4
| |\ | | | | | | Silence SBT logging about macros and incremental compilation.
| | * Silence SBT logging about macros and incremental compilation.Jason Zaugg2016-11-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since upgrading to SBT 0.13.12, clean builds have incurred warnings like: Because JavaMirrors.scala contains a macro definition, the following dependencies are invalidated unconditionally: .... This commit disables this behaviour of the SBT incremental compiler in the library and reflect projects, as these aren't regular macros (the macro implementations are hard coded in the compiler in `FastTrack`) so the new behaviour isn't actually improving correctness of inc. compilation.
| * | [backport] Bump sbt.version to 0.13.12, without breakingDale Wijnand2016-10-191-0/+5
| |/
* | Revert "Temporarily insource Scalacheck 1.11.6"Adriaan Moors2016-11-011-3/+4
| | | | | | | | This reverts commit 22dac3118e97b2a4707d42ef1f47ac292a8ed385.
* | Bump baseVersion to 2.12.1 (#5389)Seth Tisue2016-11-011-1/+1
| | | | | | | | | | | | | | Binary version (for modules) is now 2.12, starr is 2.12.0-RC2. Also, drop repo_ref from jenkins.properties; It's propagated downstream by the '-main' build flows already.
* | Merge pull request #5379 from szeiger/wip/persist-buildcharacterStefan Zeiger2016-10-271-0/+15
|\ \ | | | | | | Store buildcharacter.properties in scala-compiler.jar
| * | Store buildcharacter.properties in scala-compiler.jarStefan Zeiger2016-09-061-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to all the individual projects’ version properties files that we already keep in `scala-compiler.jar` we now write a new `scala-buildcharacter.properties` which is identical to the `buildcharacter.properties` written to the root directory by `generateBuildCharacterPropertiesFile`. The new task `extractBuildCharacterPropertiesFile` extracts it from the bootstrap Scala compiler and writes the usual `buildcharacter.properties`. This can be used to reproduce the exact version information for all modules in builds that start from an arbitrary published Scala version instead of being triggered directly by a bootstrap job.
* | | Merge 2.11.x into 2.12.xAdriaan Moors2016-10-181-8/+14
|\ \ \ | | |/ | |/| | | | Including PRs #5199, #5405
| * | Make removing forkjoin dependant on the organization keyDale Wijnand2016-06-201-10/+14
| | |
* | | Merge pull request #5386 from dwijnand/sbt-0.13.12Seth Tisue2016-10-181-0/+5
|\ \ \ | | | | | | | | Bump sbt.version to 0.13.12, without breaking
| * | | Bump sbt.version to 0.13.12, without breakingDale Wijnand2016-09-221-0/+5
| | |/ | |/|
* | | Avoid use of legacy JVM MaxPermSize option in partestJason Zaugg2016-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | In Java 8+, which we require on this branch, this option is a no-op and triggers a JVM warning these days. See http://openjdk.java.net/jeps/122
* | | Merge pull request #5416 from SethTisue/merge-2.12.0-to-2.12.x-sep-24Seth Tisue2016-10-051-7/+7
|\ \ \ | | | | | | | | merge 2.12.0 onto 2.12.x [ci: last-only]
| * \ \ Merge remote-tracking branch 'origin/2.12.0' into merge-2.12.0-to-2.12.x-sep-24Seth Tisue2016-10-041-1/+1
| |\ \ \
| | * | | Enable MiMa for 2.12.0Stefan Zeiger2016-09-291-1/+1
| | | | |
| * | | | Merge remote-tracking branch 'origin/2.12.0' into merge-2.12.0-to-2.12.x-sep-24Seth Tisue2016-09-281-6/+6
| |\| | |
| | * | | Including Lightbend in `-version` message.Adriaan Moors2016-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | Also consistently use "LAMP/EPFL" and not "EPFL LAMP".
| | * | | Merge pull request #5414 from szeiger/wip/no-partest-in-packAdriaan Moors2016-09-261-4/+4
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Do not build partest-javaagent and partest-extras for `pack` See scala-dev#223
| | | * | | Do not build partest-javaagent and partest-extras for `pack`Stefan Zeiger2016-09-221-4/+4
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building them as part of `dist/mkQuick` (and thus, by extension, `dist/mkPack`) was not necessary in the first place. Partest does not rely on these tasks for its dependencies. And when we do build the jars, they now go into their standard location under `target` instead of `build/pack/lib` so they don’t confuse sbt (see https://github.com/sbt/sbt/issues/2748).
| | * / / Fixed reference to script engine factory in META-INF/servicesRaphael Jolly2016-09-161-1/+1
| | |/ /
* | | | Merge pull request #5413 from szeiger/wip/less-verbose-testAllLukas Rytz2016-09-301-8/+13
|\ \ \ \ | |/ / / |/| | | Make output of errors in testAll less verbose
| * | | Make output of errors in testAll less verboseStefan Zeiger2016-09-211-8/+13
| |/ /
* / / Only compare group ID and artifact ID when looking for JLine JARStefan Zeiger2016-09-141-2/+8
|/ / | | | | | | | | | | If the JLine dependency is resolved through Ivy instead of Maven (which can happen with a local proxy setup in sbt that funnels all artifacts through an Ivy repo), the artifact may have a “configuration” set, which prevents a naive comparison of ModuleIDs from finding it.
* | Merge pull request #5368 from retronym/ticket/SD-208Adriaan Moors2016-09-061-3/+12
|\ \ | | | | | | | | | | | | SD-208 Restore 2.11 names for arrayOps implicits Fix scala/scala-dev#208
| * | Use STARR library for ManMakerJason Zaugg2016-08-311-2/+1
| | |
| * | Workaround sbt bug when partest itself throwsJason Zaugg2016-08-311-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | Discussion: https://github.com/sbt/sbt/issues/2722 This commit checks that some test events exist in the test log for `test/it:test` before trusting the result of `Success`.
* | | remove various references to Ant buildSeth Tisue2016-09-021-40/+14
| | |
* | | sbt build: fix "unchecked" warnings when compiling Java codeSeth Tisue2016-08-301-1/+1
|/ /
* | Decrease stack size for JUnit tests to 1M (same as the old ant build)Stefan Zeiger2016-08-291-1/+1
| |
* | increase stack size when running JUnit testsSeth Tisue2016-08-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | scala.collection.immutable.PagedSeqTest.test_SI6615 was failing intermittently during PR validation I verified that this change fixes the problem by: - changing the PageSize constant in PagedSeq (as shown by Jason Zaugg) until the test failed every time locally - making this build change and seeing the test pass again 5M is just an arbitrary number, considerably over the default (which varies according to platform & CPU). 5M is a lot of stack, but not so vastly much that it appreciably eats into the heap
* | Switch remaining uses of ant over to sbtStefan Zeiger2016-08-231-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Modify `tools/scaladoc-diff` to use sbt instead of ant. - Move `stability-test.sh` from `tools` to `scripts`. With the new build process without separate `locker` and `strap` stages, it doesn’t make sense to call this script without first setting up the proper test environment in a CI build. - Replace the use of `build.number` in `bootstrap` with a new `SHA-NIGHTLY` mode for `baseVersionSuffix`. - Make `partest` call sbt instead of ant for initializing the classpath and use the new classpath location (`quick` instead of `pack`).
* | Split “partest run” off from “partest pos neg jvm”Stefan Zeiger2016-08-121-2/+4
| | | | | | | | | | | | | | We’ve seen several OOM failures in “run” tests lately. Maybe going back to more separate partest calls will help. Now that everything is launched from the same sbt instance and test results are always accumulated, this should not have any negative impact on build performance or usability.
* | Improve log output of the `testAll` taskStefan Zeiger2016-08-111-2/+42
| | | | | | | | | | | | | | It’s a lot of code for little benefit but makes the output more useful when test tasks fail. Unfortunately there doesn’t seem to be any way to get the `summary` reported by a test framework at this point. The arguments of `toTask` for InputTasks with applied arguments have also been lost, so we keep track of the commands separately.
* | Merge pull request #5292 from szeiger/wip/sbt-windowsAdriaan Moors2016-07-281-0/+27
|\ \ | | | | | | Switch Windows CI build to sbt (w/ some sbt build improvements) [ci: last-only]
| * | Switch Windows CI build to sbt (w/ some sbt build improvements)Stefan Zeiger2016-07-211-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use sbt in `integrate/windows`: This essentially combines the Unix CI jobs `validate/publish-core` and `validate/test`, first publishing a local release built with STARR and then building a new version with that and running all tests on it. - Unify repository handling across build scripts: A new function `generateRepositoriesConfig` in `common`, based on the existing code in `integrate/bootstrap`, writes the `repositories` file for sbt, either with or without an extra bootstrap repository for resolving a previously built version. It is used in all CI scripts to ensure that artifacts are only resolved through the sanctioned proxies and upstream repositories. - The repository URL arguments in `setupPublishCore` and `setupValidateTest` are now optional as well. These commands are used without a URL from `integrate/windows`, which publishes to `local` instead of a temporary remote repository. - `testAll` is now a task instead of a command. It runs the same sequence of sub-tasks as before but does not propagate failures immediately. It always runs all subtasks and reports errors at the end. - The `generateBuildCharacterPropertiesFile` task now includes all properties from `versions.properties` (whose values have potentially been overwritten with `-D` options) in `buildcharacter.properties`.
* | | Merge pull request #5299 from mpociecha/improve-intellij-integrationAdriaan Moors2016-07-261-1/+5
|\ \ \ | | | | | | | | Improve sbt-based IntelliJ integration in case of Windows