InstantiatingBuildLoaderTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 407 more files in changeset.
Fix tests

  1. … 372 more files in changeset.
Build buildSrc after applying the settings file (#10305)

Fixes #9094 and #5333

    • -23
    • +37
    ./InstantiatingBuildLoaderTest.groovy
  1. … 54 more files in changeset.
Try again to correct the classloader structure for projects

    • -14
    • +14
    ./InstantiatingBuildLoaderTest.groovy
  1. … 6 more files in changeset.
Fix classloader scopes

  1. … 1 more file in changeset.
Move baseProjectClassLoaderScope from Settings to Gradle

  1. … 14 more files in changeset.
Update core tests

    • -16
    • +27
    ./InstantiatingBuildLoaderTest.groovy
  1. … 11 more files in changeset.
Allow source dependencies to be used for build script classpaths and fix the case where a build defines included builds and VCS mappings.

Source dependencies are not yet supported for settings or init scripts.

    • -20
    • +0
    ./InstantiatingBuildLoaderTest.groovy
  1. … 7 more files in changeset.
Revert "Introduce GradleInternal.getSettings()"

Temporarily, to help with tracking 'first use of largeJavaMultiProject' perf test flakiness.

This reverts commit a6396a46691bc6222d364a1e8004c3346c360f01.

    • -20
    • +0
    ./InstantiatingBuildLoaderTest.groovy
  1. … 4 more files in changeset.
Introduce GradleInternal.getSettings()

Attached by the BuildLoader, just like GradleInternal.getRootProject()

    • -0
    • +20
    ./InstantiatingBuildLoaderTest.groovy
  1. … 4 more files in changeset.
Introduce GradleInternal.getSettings()

Attached by the BuildLoader, just like GradleInternal.getRootProject()

    • -0
    • +20
    ./InstantiatingBuildLoaderTest.groovy
  1. … 4 more files in changeset.
Changed unit tests to use Project or ProjectInternal instead of the implementation classes.

  1. … 32 more files in changeset.
Release no longer needed script runtime classloaders.

+review REVIEW-5411

  1. … 23 more files in changeset.
Select default project in SettingHandlers and pass it to BuildLoader via SettingsInternal.

+review REVIEW-5066

    • -11
    • +6
    ./InstantiatingBuildLoaderTest.groovy
  1. … 13 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.
Remove incubating StartParameter.projectPath superseded with o.g.TaskParameter.

    • -10
    • +0
    ./InstantiatingBuildLoaderTest.groovy
  1. … 7 more files in changeset.
Build launchables even if project directory does not exist.

    • -0
    • +10
    ./InstantiatingBuildLoaderTest.groovy
  1. … 13 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.

    • -57
    • +33
    ./InstantiatingBuildLoaderTest.groovy
  1. … 80 more files in changeset.
REVIEW-3040: Resolve fileResolver via toplevel api; use TestFiles fixture instead of BaseDireResolver in unit tests.

  1. … 2 more files in changeset.
GRADLE-2744: when setting ProjectDescriptor#projectDir use FileResolver instead of just canonicalising the parameter.

  1. … 8 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

  1. … 145 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.
Rename IProjectDescriptorRegistry to IProjectDescriptorRegistry and IProjectRegistry to ProjectRegistry.

  1. … 30 more files in changeset.
Some renaming and cleanup around the test/temp directory used in tests.

  1. … 308 more files in changeset.
Remove the deprecated methods from StartParameter.

    • -37
    • +0
    ./InstantiatingBuildLoaderTest.groovy
  1. … 18 more files in changeset.
GRADLE-1686 - Properties in a project's gradle.properties now have precedence over properties defined in the root project's gradle.properties. - Split BuildLoader to separate project hierarchy construction from setting initial project properties. - Inject IGradlePropertiesLoader into various classes, rather than passing as a parameter.

    • -0
    • +177
    ./InstantiatingBuildLoaderTest.groovy
  1. … 20 more files in changeset.