GeneratePrecompiledScriptPluginAccessors.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

    • -2
    • +1
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 72 more files in changeset.
Make paths/names of included builds immutable

    • -2
    • +1
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 32 more files in changeset.
Add support for plugins {} in Kotlin settings scripts.

    • -1
    • +0
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 17 more files in changeset.
Refactor HTTP deprecation logic to use HttpRedirectVerifier

    • -2
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 60 more files in changeset.
Merge branch 'master' into settings_script_plugin_block

* master: (572 commits)

Integrate documentation addition

Add anchor check to dead link tasks

Update navigation to match new structure

Add section about producers vs consumers

Fix dead internal links

Add task to check internal documentation links

Use underscore instead of dash in doc files

Fix include levels

Use a flatten directory for all adoc files

Consolidate "declaring repositories"

Add section about correct use of `mavenLocal()`

Increase memory for single page documentation generator

Reshuffle dependency management docs

Initial structure for new dependency management docs

Address review feedback

Rebaseline all performance test scenarios

Rebaseline NativeCleanBuildPerformanceTest

Rebaseline TaskOutputCachingSwiftPerformanceTest

Publish 5.6-20190722230056+0000

Update internal_build_cache_issue

...

    • -3
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 4 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

    • -2
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 90 more files in changeset.
Fix Kotlin compilation warnings

- Suppress `unchecked_cast` warnings

- Rename parameters to match base definition

- Remove unnecessary casts

- Remove unnecessary/duplicate interface implementation

- Help the compiler understand the expressions are indeed used

    • -2
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 5 more files in changeset.
Fix Kotlin compilation warnings

- Suppress `unchecked_cast` warnings

- Rename parameters to match base definition

- Remove unnecessary casts

- Remove unnecessary/duplicate interface implementation

- Help the compiler understand the expressions are indeed used

    • -3
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 5 more files in changeset.
Fix Kotlin compilation warnings

- Suppress `unchecked_cast` warnings

- Rename parameters to match base definition

- Remove unnecessary casts

- Remove unnecessary/duplicate interface implementation

- Help the compiler understand the expressions are indeed used

    • -3
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 5 more files in changeset.
Fix Kotlin compilation warnings

- Suppress `unchecked_cast` warnings

- Rename parameters to match base definition

- Remove unnecessary casts

- Remove unnecessary/duplicate interface implementation

- Help the compiler understand the expressions are indeed used

    • -2
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 5 more files in changeset.
Forbid the use of `apply: false` for plugins in settings scripts

    • -1
    • +10
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 13 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

    • -2
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 90 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

    • -2
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 90 more files in changeset.
Remove TextResourceLoader.Factory

    • -2
    • +2
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 32 more files in changeset.
Fail the build with helpful message when precompiled script plugin request includes version

    • -4
    • +26
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 1 more file in changeset.
Avoid emitting bytecode for type-safe accessors unnecessarily

For precompiled script plugins get their type-safe accessors from the

emitted source code only.

    • -1
    • +1
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 2 more files in changeset.
Avoid emitting bytecode for type-safe accessors unnecessarily

For precompiled script plugins get their type-safe accessors from the

emitted source code only.

    • -1
    • +1
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 2 more files in changeset.
Let Gradle instantiate task properties

    • -3
    • +4
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 6 more files in changeset.
Let Gradle instantiate task properties

    • -3
    • +4
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 6 more files in changeset.
Reduce the async io scope

In order to reduce the fixed cost of precompiled script plugins.

    • -4
    • +3
    ./GeneratePrecompiledScriptPluginAccessors.kt
Reduce the async io scope

In order to reduce the fixed cost of precompiled script plugins.

    • -4
    • +3
    ./GeneratePrecompiledScriptPluginAccessors.kt
Let SyntheticProjectSchemaBuilder reuse outer build gradle user home dir

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +13
    ./GeneratePrecompiledScriptPluginAccessors.kt
Let :generatePrecompiledScriptPluginAccessors clean its output dir

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +1
    ./GeneratePrecompiledScriptPluginAccessors.kt
Fix GeneratePrecompiledScriptPluginAccessors task loading plugins {}

and un-ignore affected tests now passing

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -7
    • +5
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 1 more file in changeset.
Fix nested submission to i/o worker

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +1
    ./GeneratePrecompiledScriptPluginAccessors.kt
Fix race condition in GeneratePrecompiledScriptPluginAccessors i/o

Under load, e.g. --parallel, writing could have happened concurrently to

the deletions. Observed in performance tests.

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -10
    • +6
    ./GeneratePrecompiledScriptPluginAccessors.kt
Polish `GeneratePrecompiledScriptPluginAccessors`

- Extract explaining method

- Add argument names

    • -2
    • +5
    ./GeneratePrecompiledScriptPluginAccessors.kt
Polish `GeneratePrecompiledScriptPluginAccessors`

- Extract explaining method

- Reduce scope of utility data class usage and visibility

- Move shared function

    • -20
    • +22
    ./GeneratePrecompiledScriptPluginAccessors.kt
  1. … 3 more files in changeset.
Isolate synthetic projects temporary root dirs

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +5
    ./GeneratePrecompiledScriptPluginAccessors.kt
Recreate task temporary dir

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -4
    • +8
    ./GeneratePrecompiledScriptPluginAccessors.kt