ScalaBasePluginIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Let scala tests not use deprecated configurations

    • -3
    • +3
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 19 more files in changeset.
Let scala tests not use deprecated configurations

    • -3
    • +3
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 19 more files in changeset.
Let scala tests not use deprecated configurations

    • -3
    • +3
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 19 more files in changeset.
Let scala tests not use deprecated configurations

    • -3
    • +3
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 19 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

    • -1
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 285 more files in changeset.
Fix tests

+review REVIEW-6565

    • -1
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Use mavenCentral() and jcenter() mirrors in tests where possible

    • -6
    • +2
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 51 more files in changeset.
On CI redirect maven central queries to local repo for integration tests

    • -3
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 108 more files in changeset.
Use doLast instead of left shift operator

Made this change in preparation for deprecating the left shift operator.

+review REVIEW-6236

    • -6
    • +10
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 163 more files in changeset.
Changing Scala samples integration tests to always use Zinc compiler

+review REVIEW-5802

    • -2
    • +2
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 10 more files in changeset.
Remove scala console task

+review REVIEW-5725

    • -2
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
Removed scala console tasks

From the discussion, located at:

https://discuss.gradle.org/t/scalaconsole-fails-for-gradle-2-6/11147,

it was suggested that the scalaConsole task be removed, since it

doesn't have ay automated test coverage, wasn't documened and

wasn't ever finshed properly.

    • -19
    • +19
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 1 more file in changeset.
introduce ScalaCoverage test fixture; in daemon mode only run against one target version

+review REVIEW-5106

    • -3
    • +3
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 8 more files in changeset.
introduce ForkScalaCompileInDaemonModeFixture for forking ScalaCompile tasks when running integration tests in Scala

- applied on most scala related integration tests. not touched tests explicitly testing different scala compile options (e.g. ant, zinc, etc.)

+review REVIEW-5106

    • -0
    • +4
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 7 more files in changeset.
realigned scala integration tests with regard to which combinations of scala and jdk versions are tested

- focus on testing scala 2.10/2.11 with jdk6+, keep some compiler tests for scala 2.8/2.9

- moved and renamed lots of test files

    • -7
    • +9
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 42 more files in changeset.
Removed deprecated 'groovy' and 'scalaTools' configurations.

    • -31
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 14 more files in changeset.
GRADLE-2971 Improved the error message when scala library cannot be found.

    • -1
    • +3
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Use the TestExecutionFailure fixture to look for certain build error messages, rather than scraping the output.

    • -1
    • +1
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 2 more files in changeset.
GRADLE-642 - Add test case for trying to compile some Scala code without defining a scala library.

Also exercises the general case where we are trying to infer the Scala runtime but can't find it.

    • -0
    • +30
    ./ScalaBasePluginIntegrationTest.groovy
added specs to make sure that source class path feeding into inferred groovy/scala class path only gets resolved if/when the latter is actually used

    • -0
    • +31
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 1 more file in changeset.
improvements to Scala class path inference

- fail rather than returning empty scalaTools configuration

- don't wrap scalaTools configuration in LazilyInitializedFileCollection

- removed some tests/assertions that are (by now) already covered elsewhere

    • -13
    • +18
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 3 more files in changeset.
infer Scala compiler Jar also for ScalaDoc and ScalaConsole tasks

- don't infer if project has no repositories declared

    • -4
    • +40
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 2 more files in changeset.
added missing license header

    • -0
    • +15
    ./ScalaBasePluginIntegrationTest.groovy
fixed GRADLE-643: Scala plugin should infer the scala version from the compile configuration and add the appropriate dependencies to the scalaTools configuration

- if necessary, scala-base plugin now adds scala-compiler dependency to ScalaCompile.scalaClasspath

- version of scala-compiler dependency corresponds to version of scala-library found on ScalaCompile.classpath

    • -0
    • +24
    ./ScalaBasePluginIntegrationTest.groovy
  1. … 2 more files in changeset.