scala

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename `src/main/groovy` to `src/main/java` in `scala` project.

+review REVIEW-5940

  1. … 30 more files in changeset.
Convert `scala` classes to Java

+review REVIEW-5940

  1. … 5 more files in changeset.
Convert `scala` project to static Groovy

`AntScalaCompiler` has been converted to Java. The other Groovy classes

(`ScalaBasePlugin`, `ScalaPlugin` and `AntScalaDoc`) are non-internal,

so they are left as Groovy files, but they are already converted to

Java. `@CompileStatic` is enabled for each of them.

+review REVIEW-5940

  1. … 4 more files in changeset.
Fix typo

Add a ScalaCompilerOptionsInternal subclass.

+review REVIEW-5904

- This allows us to stop using deprecated methods in our internal

implementation so we don't spew deprecation messages to

users who haven't used deprecated methods.

  1. … 4 more files in changeset.
Add deprecation messages to the getters as well.

+review REVIEW-5829

Add deprecation messages and more documentation.

+review REVIEW-5829

  1. … 2 more files in changeset.
Cleanup documentation and deprecations.

+review REVIEW-5829

  1. … 11 more files in changeset.
Fix up the documentation and deprecation warnings.

+review REVIEW-5829

  1. … 2 more files in changeset.
Setting 'useAnt' should take precedence over 'fork'

+review REVIEW-5829

Also deprecates the fork ScalaComilerOption

+review REVIEW-5829

- This keeps the contract sane.

  1. … 1 more file in changeset.
Deprecate the useAnt option in the ScalaCompileOptions.

+review REVIEW-5829

- Disable deprecation warnings in JreJavaHomeScalaIntegrationTest

- Remove many uses of useAnt = false

  1. … 12 more files in changeset.
Stop using String.join() as it is Java 1.8 only.

+review REVIEW-5815

- This also unbreaks the build.

  1. … 1 more file in changeset.
Refactor the functionality of AntScalaCommandLineWriter elsewhere.

+review REVIEW-5815

- The functionality is pretty generically about escaping command-line arguments

and isn't really specific to Ant or Scala compilers.

  1. … 3 more files in changeset.
Fix variable names for double/single quotes.

+review REVIEW-5815

- This also adds tests for empty additionalParameters.

  1. … 1 more file in changeset.
Fixing checkstyle errors

+review REVIEW-5763

  1. … 2 more files in changeset.
Making Zinc Scala compiler multi-process safe

+review REVIEW-5763

  1. … 9 more files in changeset.
Deprecated a bunch of classes in the public API for removal in 3.0. These are either not used, in which case they will be removed, or only intended to be used internally, in which case they will be moved into an internal home.

  1. … 12 more files in changeset.
Removed duplicate package-info files

  1. … 4 more files in changeset.
extract ant scala command-line writing to a separate class

    • -0
    • +61
    ./AntScalaCommandLineWriter.groovy
fix typo in ScalaDocOptions 'addParams' should be 'addparams'

share a common base test between ScalaDocOptions and ScalaCompileOptions

  1. … 3 more files in changeset.
escape any existing single quotes in scalac parameter

Use Transformer<String, String> and CollectionUtils.collect() instead of Guava types. It's more idiomatic for the Gradle codebase.

fix checkstyle failure

apply scalaCompileOptions.additionalParameters consistently for Ant and Zinc compilers

  1. … 1 more file in changeset.
Simplified implementation of ScalaCompile tasks

  1. … 32 more files in changeset.
Always use Zinc + compiler daemon in 'scala-language'

- extract useAnt functionality to scala project

- ScalaCompileOptions now subclass of PlatformScalaCompileOptions adding ant support

- languageScala main now is java only

+review REVIEW-5273

  1. … 86 more files in changeset.
reorganising scala related sources

- invert dependency between scala and scala-lang subproject

- scala now depends on scala-lang

- kept public classes in same packages for compatibility reasons

+review REVIEW-5273

  1. … 87 more files in changeset.
remove zincClasspath and scalaClasspath from ScalaCompileSpec as it is part of the compiler setup

+review REVIEW-5258

  1. … 9 more files in changeset.