ProjectSchemaAccessorsIntegrationTest.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Ignore test that relies on outdated version of the build-scan plugin

    • -0
    • +2
    ./ProjectSchemaAccessorsIntegrationTest.kt
Fix test expectations after distro upgrade

    • -4
    • +12
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Let cache key derived from project schema include tasks and elements

Resolves #1303

    • -0
    • +55
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Move kotlin-dsl in a sub directory

    • -1040
    • +0
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1579 more files in changeset.
Always resolve the script classpath against the imported project dir

To account for subprojects outside the root project directory.

This commit temporarily breaks the support for nested projects like

the ones found in `kotlin-dsl/samples` which shall be restored in a

subsequent commit.

Resolves #1231

    • -5
    • +0
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 7 more files in changeset.
Remove unnecessary type declaration in script under test

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

    • -1
    • +1
    ./ProjectSchemaAccessorsIntegrationTest.kt
Generate type-safe accessors for extensions of project.dependencies

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

    • -0
    • +29
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 4 more files in changeset.
Add missing string invoke operator extensions to ArtifactHandlerScope

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

    • -1
    • +5
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Add scope configuration invoke operator extension on ArtifactHandler

the added extension was missing for uniformity with other scopes such as

dependencies {}, dependencies.constraints {} etc..

but, artifacts {} doesn't provide the scope

because the added extension is shadowed

by Project.artifacts(Action<ArtifactHandler)

so, it is usable with the dreaded (artifacts) {}

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

    • -4
    • +20
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Merge pull request #1020 from mkobit/mk/889-generate-artifact-handler-accessors

Generate accessors for `ArtifactHandler`

    • -0
    • +60
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Merge branch 'master' into develop

    • -3
    • +1
    ./ProjectSchemaAccessorsIntegrationTest.kt
Remove unneeded STABLE_PUBLISHING feature preview opt-in

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

    • -3
    • +1
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 5 more files in changeset.
Polish artifacts accessors integration test

Signed-off-by: Mike Kobit <mkobit@gmail.com>

    • -3
    • +2
    ./ProjectSchemaAccessorsIntegrationTest.kt
Plugin classes don't need to be open

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

    • -3
    • +3
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 6 more files in changeset.
Generate accessors for `ArtifactHandler`

issue https://github.com/gradle/kotlin-dsl/issues/889

Signed-off-by: Mike Kobit <mkobit@gmail.com>

    • -0
    • +61
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 5 more files in changeset.
Emit `DependencyHandler` extension with named parameters

    • -2
    • +0
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 5 more files in changeset.
Ignore failing tests

    • -0
    • +2
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Remove kotlinDslAccessorsSnapshot task

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

    • -21
    • +19
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 6 more files in changeset.
Remove unnecessary test

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

    • -53
    • +0
    ./ProjectSchemaAccessorsIntegrationTest.kt
Generate compilable accessors for container elements of default package type

Relates to #1158

    • -33
    • +69
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Polish `ProjectSchemaAccessorsIntegrationTest`

    • -79
    • +82
    ./ProjectSchemaAccessorsIntegrationTest.kt
Generate compilable accessors for tasks with types in the default package

By explicitly importing task types from the default package in

the generated code.

Resolves #1158

    • -0
    • +41
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Fix test by explicitly qualifying the `project.tasks` receiver

    • -1
    • +1
    ./ProjectSchemaAccessorsIntegrationTest.kt
Merge pull request #1130 from gradle/eskatos/accessors/elements

Accessors for existing elements of `tasks` and containers

    • -0
    • +85
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Merge pull request #1141 from gradle/marc/remove-deferred-configurable

Remove support for deferred configurable extensions

    • -3
    • +5
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Remove support for deferred configurable extensions

Gradle 5.0 will remove `@DeferredConfigurable`.

See gradle/gradle#6276

    • -3
    • +5
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 6 more files in changeset.
Adapt coverage

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

    • -5
    • +0
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 5 more files in changeset.
Also consider visited targets for existing container elements accessors

this brings support for source sets, distributions etc..

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

    • -0
    • +57
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Generate accessors for existing tasks, same as with configurations

but specialized to expose TaskProvider<T>

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

    • -0
    • +28
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 6 more files in changeset.
Generate lazy accessors to existing elements of `configurations`

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

    • -0
    • +24
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 7 more files in changeset.