Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Clear error message when breaking default zinc setup

Instead of attempting to remove possible mutations to the zinc

configuration, we register an afterResolve that asserts the Scala

version required by default Zinc is valid.

Fixes #11038

  1. … 1 more file in changeset.
Substitute the new Zinc coordinates for the old ones automatically

    • -0
    • +23
    ./ScalaPluginIntegrationTest.groovy
    • -1
    • +8
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
  1. … 3 more files in changeset.
Force Scala library 2.12 with Zinc

    • -0
    • +24
    ./ScalaPluginIntegrationTest.groovy
  1. … 7 more files in changeset.
Try to make Scala compilation work with Zinc 1.3.0

    • -3
    • +4
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
  1. … 7 more files in changeset.
Introduce a ScalaPluginExtension for configuring the version of Zinc used

    • -1
    • +4
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
    • -14
    • +2
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -3
    • +5
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
  1. … 13 more files in changeset.
Merge remote-tracking branch 'origin/wolfs/fixit/scala-plugin-zinc-update' into sg/60/zinc-upgrade-2

* origin/wolfs/fixit/scala-plugin-zinc-update:

Use forking when running in parallel

Fix IDE test expectations and mention breaking change

Document Zinc compiler upgrade

Add test case for #8421

Recognize contributor in release notes

Don't use static state

Remove unused `javaHome`

upgraded Scala zinc compiler to version 1.2.5

    • -5
    • +5
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
    • -8
    • +18
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -2
    • +2
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
  1. … 21 more files in changeset.
Add deprecation expectation

This test is a bugfix so we can't really migrate to `maven-publish`.

Remove deprecated getEffectiveAnnotationProcessorPath() method

    • -45
    • +0
    ./compile/ScalaCompileDeprecationsIntegrationTest.groovy
  1. … 3 more files in changeset.
Add test proving that we can know have a Scala+Java Library component

Closes #8788

    • -0
    • +41
    ./compile/ScalaCompileWithJavaLibraryIntegrationTest.groovy
  1. … 6 more files in changeset.
Use forking when running in parallel

Let scala tests not use deprecated configurations

    • -3
    • +3
    ./ScalaBasePluginIntegrationTest.groovy
    • -2
    • +2
    ./ScalaCrossCompilationIntegrationTest.groovy
    • -10
    • +10
    ./ScalaPluginIntegrationTest.groovy
    • -2
    • +2
    ./compile/CachedScalaCompileIntegrationTest.groovy
    • -2
    • +2
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -1
    • +1
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
    • -2
    • +2
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -1
    • +1
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
    • -1
    • +1
    ./compile/daemon/ScalaCompilerDaemonReuseIntegrationTest.groovy
    • -2
    • +2
    ./environment/JreJavaHomeScalaIntegrationTest.groovy
    • -3
    • +3
    ./test/ScalaTestIntegrationTest.groovy
  1. … 8 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. … 161 more files in changeset.
Handle scala jdk version better

    • -1
    • +4
    ./ScalaCrossCompilationIntegrationTest.groovy
Update references to 1.6 compatibility to 1.7

    • -1
    • +1
    ./ScalaCrossCompilationIntegrationTest.groovy
  1. … 20 more files in changeset.
upgraded Scala zinc compiler to version 1.2.5

Additionally introduces Scala compiler daemon that remains warm across build, improving further incremental compilation times

Signed-off-by: Predrag Knezevic <pedjak@gmail.com>

    • -5
    • +5
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
    • -8
    • +18
    ./compile/ZincScalaCompilerIntegrationTest.groovy
    • -2
    • +2
    ./compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy
  1. … 27 more files in changeset.
Loosen test to assert that the incremental mapping is not present in the application descriptor

    • -12
    • +5
    ./ScalaPluginIntegrationTest.groovy
Do not consider artifacts added to non-visible configurations as default artifacts

  1. … 1 more file in changeset.
    • -0
    • +25
    ./ScalaPluginIntegrationTest.groovy
    • -0
    • +48
    ./ScalaPluginIntegrationTest.groovy
Deprecate AbstractScalaCompile.effectiveAnnotationProcessorPath

    • -0
    • +45
    ./compile/ScalaCompileDeprecationsIntegrationTest.groovy
  1. … 2 more files in changeset.
Use global init script to set mirrors for buildSrc (#6627)

    • -1
    • +1
    ./compile/IncrementalScalaCompileIntegrationTest.groovy
    • -1
    • +1
    ./compile/ZincScalaCompilerIntegrationTest.groovy
  1. … 49 more files in changeset.
Fix #6750

Disambiguate publications when a consumer doesn't care about the usage to prefer java runtime jars

  1. … 1 more file in changeset.
Fix #6735

Only consider Project dependencies for analysis mappings

  1. … 1 more file in changeset.
Reproduce Scala variant selection failure

    • -0
    • +41
    ./ScalaPluginIntegrationTest.groovy
    • -0
    • +37
    ./ScalaPluginIntegrationTest.groovy
Usage variant aware dependency management to share analysis files

Use artifactView to filter analysis files

  1. … 9 more files in changeset.
Raise minimum build JVM version to Java 8

    • -11
    • +11
    ./compile/UpToDateScalaCompileIntegrationTest.groovy
  1. … 30 more files in changeset.
Avoid iterating over tasks in subprojects from ScalaCompile

  1. … 2 more files in changeset.
    • -1
    • +46
    ./ScalaPluginIntegrationTest.groovy
Remove stale files for scala compilation (#6093)

Whenever Zinc doesn't have the data to remove them.

    • -0
    • +94
    ./compile/CachedScalaCompileIntegrationTest.groovy
  1. … 3 more files in changeset.