tasks

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

    • -168
    • +0
    ./scala/ScalaCompileOptions.java
  1. … 28 more files in changeset.
Convert `scala` classes to Java

+review REVIEW-5940

    • -0
    • +75
    ./scala/AntScalaDoc.java
  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

    • -12
    • +19
    ./scala/ScalaCompileOptions.java
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.

    • -57
    • +0
    ./scala/AntScalaCommandLineWriter.groovy
  1. … 3 more files in changeset.
Fix variable names for double/single quotes.

+review REVIEW-5815

- This also adds tests for empty additionalParameters.

    • -6
    • +2
    ./scala/AntScalaCommandLineWriter.groovy
  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.
Renamed TaskDependencyContainer.resolve() to visitDependencies().

  1. … 26 more files in changeset.
Changed LazilyInitializedFileCollection so that it is-a CompositeFileCollection. Removed now unused DelegatingFileCollection

  1. … 7 more files in changeset.
Changed LazilyInitializedFileCollection to also implement TaskDependencyContainer.

  1. … 5 more files in changeset.
Changed LazilyInitializedFileCollection so that it does not create delegate until task dependencies are queried, added a displayName property. This makes it look more like CompositeFileCollection, which it will be merged into.

  1. … 5 more files in changeset.
Minor simplification in calculation of task dependencies for Groovy and Scala runtimes.

  1. … 1 more file in changeset.
Fixed invalid javadoc

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

  1. … 4 more files in changeset.
Make all implementations of FileCollection implement the internal protocol.

+review REVIEW-5481

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

    • -0
    • +61
    ./scala/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