org

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

  1. … 3 more files in changeset.
Move all subprojects to the `subprojects` directory

    • -28
    • +0
    ./gradle/kotlin/dsl/ConfigurableFileCollectionExtensionsTest.kt
    • -224
    • +0
    ./gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt
    • -245
    • +0
    ./gradle/kotlin/dsl/DependencyHandlerExtensionsTest.kt
    • -263
    • +0
    ./gradle/kotlin/dsl/NamedDomainObjectCollectionExtensionsTest.kt
    • -330
    • +0
    ./gradle/kotlin/dsl/NamedDomainObjectContainerExtensionsTest.kt
    • -181
    • +0
    ./gradle/kotlin/dsl/ProjectExtensionsTest.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

  1. … 6 more files in changeset.
Serve correct classpath for `Settings` script plugins

  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. … 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

  1. … 1 more file in changeset.
Provide typed getting by delegate on NamedDomainObjectContainer

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

    • -2
    • +2
    ./gradle/kotlin/dsl/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
    ./gradle/kotlin/dsl/NamedDomainObjectCollectionExtensionsTest.kt
Fix under test type

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

    • -1
    • +1
    ./gradle/kotlin/dsl/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
    ./gradle/kotlin/dsl/NamedDomainObjectCollectionExtensionsTest.kt
    • -6
    • +90
    ./gradle/kotlin/dsl/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>

  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>

  1. … 20 more files in changeset.
Fix nested conventions test expectations

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.

  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 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. … 1 more file in changeset.
Re-enable TestKit `withPluginClasspath` test on Java >= 9

Extract `withTestDaemon`

  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.

  1. … 1 more file in changeset.
Disable `withPluginClasspath` test on Java9

It is hanging.

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
    ./gradle/kotlin/dsl/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

Coverage for convention instances implementing HasPublicType

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

Fix typo

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

Fix test on Windows

ProjectSchema calculation consider all available source sets

  1. … 1 more file in changeset.
Move ProjectSchema calculation into Gradle plugins classloader

  1. … 10 more files in changeset.
Process the `buildscript` block of settings script plugins

See #180

  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