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

    • -62
    • +0
    ./BuildSrcBuildListenerFactory.java
  1. … 2543 more files in changeset.
Some changes to build operation usages:

- Run the 'init scripts' build operation only when there are init scripts, also enable progress logging for this build operation (so you see `loading > init scripts` on the progress bar while the init scripts are running).

- Added a build operation to wrap the execution of the buildSrc nested build (so you see `loading >buildSrc` on the progress bar). The events from the nested buildSrc build are not forwarded to the tooling api client.

  1. … 7 more files in changeset.
Fixed reporting of build failures, broken in previous changes.

Changed GradleLauncher methods so that they throw build failures, rather than packaging into result.

  1. … 8 more files in changeset.
Use the absolute path to the build dir as the root classloader scope for a build so that buildSrc and the real build don't clobber each other.

+review REVIEW-5411

Release no longer needed script runtime classloaders.

+review REVIEW-5411

  1. … 23 more files in changeset.
Introduced BuildRequestContext to package up the stuff that is provided by the build invoker, and changed GradleLauncherFactory.create() methods to use this.

Will allow more stuff to be added later, eg shipping test events back to the tooling api client.

  1. … 11 more files in changeset.
Use a service rather than project convention object to pass the 'main' component between the Java plugin and the dependency tasks and the buildSrc stuff.

  1. … 7 more files in changeset.
Moved class to 'org.gradle.api.internal.component' to live with some other component related stuff.

  1. … 6 more files in changeset.
Renamed EmbeddableJavaProject to BuildableJavaComponent

  1. … 6 more files in changeset.
Merged ClassLoaderScope.loader() into export() and local() so that the only visible Classloaders are the local or export ClassLoaders.

  1. … 7 more files in changeset.
Removed unnecessary child classloader scope.

  1. … 2 more files in changeset.
Move BuildCancellationToken to :core to make it available during the build.

  1. … 33 more files in changeset.
Simplify ClassLoaderScope.

- Allow attaching of arbitrary classloaders (supports graphs instead of just trees)

- Remove “base” concept

  1. … 47 more files in changeset.
Moved GradleLauncher out of the public packages, so that it is now internal. It will be merged into BuildController and friends over time.

  1. … 15 more files in changeset.
Changed the contract of GradleLauncherFactory.newInstance() so that the caller is responsible for cleaning up when finished.

  1. … 10 more files in changeset.
Introduce ClassLoaderScope.

Attempts to model the class loader relationships more explicitly, and encapsulate class loader creation. It also allows lazy classloader creation (in a more obvious way than before) which allows short circuiting in the classloader hierarchy.

  1. … 80 more files in changeset.
Reworked the CacheRepository API a bit to make it clearer what is used to identify a cache.

  1. … 23 more files in changeset.
Changed the client's of CacheRepository so that they close their caches when finished with them.

  1. … 6 more files in changeset.
Removed CacheBuilder.VersionStrategy.SharedCacheInvalidateOnVersionChange and moved the logic to BuildSourceBuilder.

  1. … 6 more files in changeset.
Extracted layout logic from DirectoryCacheBuilder

- CacheLayout is provided to CacheBuilder

- Determines cache base directory

- Applies layout-specific properties

- Incremental compilation cache is now stored in:

.gradle/<version>/taskState/<taskName>/incrementalCompile

  1. … 13 more files in changeset.
Renamed 'simple' lock option to 'crossVersionImplementation'

  1. … 8 more files in changeset.
Removed workaround for build source locking.

  1. … 9 more files in changeset.
Removed workaround for build source locking.

Pushed out the lock protocol to a separate class. For now, it's only a refactoring, without changes to the behavior. It should allow us to have different implementation of FileLockAccess. Refactorings to unit test coverage are needed plus some cleanup.

  1. … 5 more files in changeset.
Changed TODO so that checkstyle is happy.

Fixed the buildSrc cache so that it works fine after changing the cache lock format. I'm not fond of the fix, let's come up with a better approach.

Fixed execution of tooling API build actions on the IBM JVM.

  1. … 6 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

  1. … 1213 more files in changeset.
Changed the declared type for the buildsrc class loader.

  1. … 9 more files in changeset.
REVIEW-1699 Switched back the test. Spockified the test and busted the class into smaller pieces to improve testing.

    • -0
    • +89
    ./BuildSourceBuilder.java
    • -0
    • +61
    ./BuildSrcBuildListenerFactory.java
    • -0
    • +61
    ./BuildSrcUpdateFactory.java
  1. … 11 more files in changeset.