Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Renamed src/main/groovy to src/main/java in core

    • -52
    • +0
    ./BuildScopeServiceRegistryFactory.java
  1. … 2536 more files in changeset.
Get rid of TaskScopeServices

The `TaskScopeServices` service was created for each task, in hope we could lazily initialize some dependents. Typically,

task inputs and outputs were created using this. However, in practice, they are always eagerly initialized during the

task creation. This leads to both increased memory usage (because each task has a companion service) and performance

penalty (because injecting services as well as calling `get` on them is expensive).

This commit replaces the use of `TaskScopeServices` with eagerly created instances.

+review REVIEW-5921

  1. … 3 more files in changeset.
Introduce ScriptPluginFactoryProvider SPI

  1. … 3 more files in changeset.
Polish BuildScopeServices

  1. … 1 more file in changeset.
Use a shared constructor cache for all dependency injecting class generators

+review REVIEW-5921

  1. … 6 more files in changeset.
Optimize ProjectScopeServices.createLoggingManager()

  1. … 2 more files in changeset.
Revert introduction of DefaultPluginRepositoryHandler

  1. … 10 more files in changeset.
Introduce DefaultPluginRepositoryHandler

This will be wired up with the `pluginRepositories {}` block to provide

one PluginResolver for each repository defined in that block.

For now, the implementation retains the previous behavior of adding

a Maven repository based on a system property.

  1. … 10 more files in changeset.
Introduce DefaultPluginRepositoryHandler

This will be wired up with the `pluginRepositories {}` block to provide

one PluginResolver for each repository defined in that block.

For now, the implementation retains the previous behavior of adding

a Maven repository based on a system property.

  1. … 11 more files in changeset.
Clear tree visitor cache at the end of the build

- fixes the memory calculation at the end of the build

- cache would be dereferenced and garbage collectable after the

Gradle scope services get closed.

+review REVIEW-5911

  1. … 1 more file in changeset.
Added `ProjectFinder.findProject()` to avoid using unnecessary exceptions

  1. … 5 more files in changeset.
First stab at allowing Ant task output to be captured.

+review REVIEW-5912

  1. … 12 more files in changeset.
Change snapshot persistence to use shared tree snapshots

- introduce TreeSnapshot

- implement TreeSnapshotRepository for persistence. Also takes care

of usage tracking and removes a TreeSnapshot when all of the

dependent file collection snapshots have been removed.

- remove updateFrom and applyAllChangesSince from FileCollectionSnapshot

- these methods were only used for creating output snapshot

- replace with createOutputSnapshot method on

OutputFilesCollectionSnapshotter .

- optimized for single use case

- allows reuse of persisted TreeSnapshot instances

+review REVIEW-5911

  1. … 31 more files in changeset.
Moved progress logging and styled text logging interfaces to live in their own packages.

  1. … 155 more files in changeset.
Moved logging configuration classes referenced from `StartParameter` into a public package.

  1. … 34 more files in changeset.
Moved internal logging classes from 'core' to 'logging' project.

  1. … 416 more files in changeset.
Moved the public logging API classes from `core` to new `logging` project.

  1. … 23 more files in changeset.
Use asm instead of jarjar to relocate the worker process bootstrap classes.

  1. … 5 more files in changeset.
Busted up some package cycles and switched on classcycle checks for 'messaging' project.

  1. … 32 more files in changeset.
Moved `o.g.messaging.*` to `o.g.internal.*`.

  1. … 293 more files in changeset.
Push logic out of GlobalScopeServices

+review REVIEW-5867

  1. … 3 more files in changeset.
Determine ClassloaderRegistry type based on marker file

The fat JAR files contain a marker file to determine the type of JAR.

+review REVIEW-5867

  1. … 3 more files in changeset.
Moved worker process classes into their own package.

  1. … 92 more files in changeset.
Changed the API for creating worker processes, so that the worker action must always be supplied.

Also introduced a couple of interfaces to present the API.

  1. … 31 more files in changeset.
Changed the contract of `SerializerRegistry` to allow a `Serializer` for any type to be created, rather than just the base type.

  1. … 10 more files in changeset.
Make constructor of TaskExecuters more consistent

Let the delegate be the last parameter always

  1. … 2 more files in changeset.
Fixed caching of classloaders

+review REVIEW-5868

  1. … 7 more files in changeset.
Cleanup unused methods

+review REVIEW-5868

  1. … 2 more files in changeset.
Reuse classloader snapshot hash instead of computing a new one

+review REVIEW-5868

  1. … 14 more files in changeset.
Removed a bunch of classes that are no longer used.

  1. … 89 more files in changeset.