Luke Daley

Build buildSrc after applying the settings file (#10305)

Fixes #9094 and #5333

  1. … 40 more files in changeset.
Try again to correct the classloader structure for projects

Use the base project loader as the base loader for all projects

Restore child projects loader scope inheriting from the root project

Remove unnecessary parameter

Merge remote-tracking branch 'origin/master' into ldaley/settings-before-buildsrc

Use the parent project's classloader scope as the child's parent scope

Fix classloader scopes

Move baseProjectClassLoaderScope from Settings to Gradle

Remove test for deleted class

Merge remote-tracking branch 'origin/master' into ldaley/settings-before-buildsrc

# Conflicts:

# subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcDeprecatedInSettingsIntegrationTest.groovy

# subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultDeprecatedClassLoader.java

# subprojects/core/src/main/java/org/gradle/api/internal/initialization/DeprecatedClassLoaderScope.java

Update subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcVisibilityIntegrationTest.groovy

Co-Authored-By: Sterling Greene <big-guy@users.noreply.github.com>

Update subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcVisibilityIntegrationTest.groovy

Co-Authored-By: Sterling Greene <big-guy@users.noreply.github.com>

Update subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcVisibilityIntegrationTest.groovy

Co-Authored-By: Sterling Greene <big-guy@users.noreply.github.com>

Update subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcVisibilityIntegrationTest.groovy

Co-Authored-By: Sterling Greene <big-guy@users.noreply.github.com>

Update subprojects/docs/src/docs/userguide/upgrading_version_5.adoc

Co-Authored-By: Sterling Greene <big-guy@users.noreply.github.com>

Allow init scripts to apply plugins to settings (#10304)

Bump since to 6.0

Attempt to make plugins {} work in settings scripts in Kotlin

This is currently not quite working

Attempt to make plugins {} work in settings scripts in Kotlin

This is currently not quite working

Support plugins {} in settings scripts

Support plugins {} in settings scripts

Restore baseProjectClassLoaderScope as the fallback for project scripts

Merge remote-tracking branch 'origin/master' into ldaley/settings-before-buildsrc

Use the “rootClassLoaderScope” as the settings script/plugin fallback

Align names for what is now known as baseProjectClassLoaderScope

Add breaking change documentation

Rename method to not be a getter, to avoid being accidentally invoked

Attach the buildSrc export scope to settings

This is the minimal change required to make Kotlin DSL IDE integration

work. When getting a script's classpath fails, we fall back to this

classpath.

Merge remote-tracking branch 'origin/master' into ldaley/settings-before-buildsrc