Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #885 from gradle/bamboo/fix-accessors-caching

Add generated accessors jar to the loaded script cache key

    • -0
    • +54
    ./accessors/ProjectSchemaAccessorsIntegrationTest.kt
  1. … 3 more files in changeset.
Move all subprojects to the `subprojects` directory

    • -28
    • +0
    ./ConfigurableFileCollectionExtensionsTest.kt
    • -36
    • +0
    ./ContentFilterableExtensionsTest.kt
    • -224
    • +0
    ./DelegatedGradlePropertiesExtensionsTest.kt
    • -245
    • +0
    ./DependencyHandlerExtensionsTest.kt
    • -104
    • +0
    ./ExtraPropertiesExtensionsTest.kt
    • -263
    • +0
    ./NamedDomainObjectCollectionExtensionsTest.kt
    • -330
    • +0
    ./NamedDomainObjectContainerExtensionsTest.kt
    • -96
    • +0
    ./PluginDependenciesSpecScopeTest.kt
    • -99
    • +0
    ./RepositoryHandlerExtensionsTest.kt
  1. … 507 more files in changeset.
Merge pull request #882 from gradle/bamboo/develop/script-plugin-classpath

Provide correct classpath for script plugins with buildscript blocks

    • -3
    • +12
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
    • -3
    • +1
    ./integration/KotlinSettingsScriptModelIntegrationTest.kt
    • -1
    • +6
    ./integration/ScriptModelIntegrationTest.kt
  1. … 6 more files in changeset.
Serve correct classpath for `Settings` script plugins

    • -3
    • +1
    ./integration/KotlinSettingsScriptModelIntegrationTest.kt
  1. … 1 more file in changeset.
Skip the script body when computing the classpath of a script plugin

The body of script plugins will still be executed when they are

applied from other scripts as they might affect the classpath of the

applying script.

    • -1
    • +12
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
    • -1
    • +6
    ./integration/ScriptModelIntegrationTest.kt
  1. … 4 more files in changeset.
Provide correct classpath for script plugins

By executing the script plugin and getting the resulting compilation

classpath from its target `ClassLoaderScope`.

See #110

    • -2
    • +0
    ./integration/KotlinBuildScriptModelIntegrationTest.kt
  1. … 1 more file in changeset.
Provide typed getting by delegate on NamedDomainObjectContainer

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

    • -2
    • +2
    ./NamedDomainObjectCollectionExtensionsTest.kt
  1. … 1 more file in changeset.
Fix test asserting changed exception type to IllegalArgumentException

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

    • -1
    • +1
    ./NamedDomainObjectCollectionExtensionsTest.kt
Fix under test type

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

    • -1
    • +1
    ./NamedDomainObjectCollectionExtensionsTest.kt
Refine [Named|Polymorphic]DomainObject[Collection|Container] extensions

by making their whole API available with the invoke syntax

and adding reified getByName<T>(name) {} to NamedDomainObjectCollection

and adding reified maybeCreate<T>(name) to PolymorphicDomainObjectContainer

adding more coverage along the way

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

    • -13
    • +105
    ./NamedDomainObjectCollectionExtensionsTest.kt
    • -6
    • +90
    ./NamedDomainObjectContainerExtensionsTest.kt
  1. … 3 more files in changeset.
Simplify splitting :provider into :provider-plugins

by letting :provider-plugins depend directly on :provider

and removing :provider-spi

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

    • -4
    • +0
    ./accessors/GenerateProjectSchemaTest.kt
    • -2
    • +0
    ./accessors/TypeAccessibilityProviderTest.kt
  1. … 35 more files in changeset.
Move embedded plugins to the Gradle Plugins classloader

by moving them to the :provider-plugins project

and adding 2 SPI interfaces in order to share code with :provider

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

    • -0
    • +1
    ./accessors/GenerateProjectSchemaTest.kt
    • -0
    • +1
    ./accessors/TypeAccessibilityProviderTest.kt
  1. … 20 more files in changeset.
Fix nested conventions test expectations

    • -18
    • +0
    ./accessors/ProjectSchemaAccessorsIntegrationTest.kt
Don't generate accessors for `SourceSet` conventions

We should instead migrate our `SourceSet` conventions to extensions

so we can provide a better and forward compatible DSL.

    • -9
    • +2
    ./accessors/GenerateProjectSchemaTest.kt
    • -43
    • +0
    ./accessors/ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Add known public types mapping to accessors generation

until HasPublicType is implemented upstream

with only KotlinSourceSet for now

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

    • -1
    • +1
    ./accessors/GenerateProjectSchemaTest.kt
    • -18
    • +31
    ./accessors/ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Detect internal Kotlin types and mark them inaccessible

By deserializing the Kotlin `ProtoBuf.Class` information stored in the

`kotlin.Metadata` annotation. This is done only for public classes for

performance reasons.

Fixes #856

    • -1
    • +16
    ./accessors/TypeAccessibilityProviderTest.kt
  1. … 1 more file in changeset.
Re-enable TestKit `withPluginClasspath` test on Java >= 9

    • -2
    • +0
    ./integration/TestKitIntegrationTest.kt
Extract `withTestDaemon`

    • -18
    • +19
    ./integration/ScriptModelIntegrationTest.kt
  1. … 2 more files in changeset.
Disable `withPluginClasspath` test on Java > 8

FTR, `withPluginClasspath` does work on Java > 8. It is the usage of

TestKit to test a build that also uses TestKit that is causing the

test to fail.

    • -8
    • +0
    ./integration/GradleKotlinDslIntegrationTest.kt
    • -5
    • +1
    ./integration/TestKitIntegrationTest.kt
  1. … 1 more file in changeset.
Disable `withPluginClasspath` test on Java9

It is hanging.

    • -0
    • +6
    ./integration/TestKitIntegrationTest.kt
Compute script compilation classpath from target `ClassLoaderScope`

Instead of `scriptHandler.scriptClassPath` so plugin implementations

coming from other loaders, as it is the case with plugins tested via

TestKit's `withPluginClasspath`, are also added to the compilation

classpath.

See #492

    • -0
    • +123
    ./integration/TestKitIntegrationTest.kt
  1. … 1 more file in changeset.
Add coverage for private convention type without HasPublicType

Using the Kotlin Gradle Plugin as an example

    • -0
    • +24
    ./accessors/ProjectSchemaAccessorsIntegrationTest.kt
Coverage for convention instances implementing HasPublicType

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

    • -0
    • +55
    ./accessors/ProjectSchemaAccessorsIntegrationTest.kt
Fix typo

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

    • -2
    • +1
    ./accessors/GenerateProjectSchemaTest.kt
Fix test on Windows

    • -2
    • +2
    ./accessors/ProjectSchemaAccessorsIntegrationTest.kt
ProjectSchema calculation consider all available source sets

    • -39
    • +151
    ./accessors/GenerateProjectSchemaTest.kt
    • -0
    • +25
    ./accessors/ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Move ProjectSchema calculation into Gradle plugins classloader

    • -0
    • +3
    ./accessors/GenerateProjectSchemaTest.kt
    • -0
    • +1
    ./accessors/TypeAccessibilityProviderTest.kt
  1. … 10 more files in changeset.
Process the `buildscript` block of settings script plugins

See #180

    • -0
    • +32
    ./integration/KotlinSettingsScriptIntegrationTest.kt
  1. … 1 more file in changeset.
Make `ProjectSchemaTest` more precise

Merge pull request #827 from gradle/bamboo/applied-scripts

Process the `buildscript` block of project script plugins

    • -1
    • +29
    ./integration/GradleKotlinDslIntegrationTest.kt