accessors

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
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 3 more files in changeset.
Move all subprojects to the `subprojects` directory

    • -535
    • +0
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 516 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

    • -18
    • +0
    ./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.

    • -43
    • +0
    ./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>

    • -18
    • +31
    ./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. … 1 more file in changeset.
Add coverage for private convention type without HasPublicType

Using the Kotlin Gradle Plugin as an example

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

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

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

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

Fix test on Windows

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

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

  1. … 10 more files in changeset.
Make `ProjectSchemaTest` more precise

Refine ProjectSchemaTest

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

Merge branch 'develop' into eskatos/extensions/generics

  1. … 1 more file in changeset.
Revert "Refine typeOf<T>() to limit to non-nullable types"

This reverts commit 548eeced7e5fc2e5932c4f00ff3f5aed89f16557.

  1. … 1 more file in changeset.
Refine typeOf<T>() to limit to non-nullable types

  1. … 1 more file in changeset.
Remove now duplicate typeOf() declaration from tests

Generate compilable accessors in face of type erasure

  1. … 1 more file in changeset.
Test for accessors of extensions whose generic type info is erased

    • -0
    • +50
    ./ProjectSchemaAccessorsIntegrationTest.kt
lint modified files after merging develop

  1. … 9 more files in changeset.
lint: visibility modifiers on their own line

  1. … 10 more files in changeset.
lint: apply blank lines rule

  1. … 65 more files in changeset.
Add newly added configurations to test case expectation

Generate Kotlin extensions for nested Gradle extensions/conventions

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

    • -0
    • +106
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 3 more files in changeset.
Take advantage of shorthand notation for bound callable references

https://kotlinlang.org/docs/reference/whatsnew12.html#support-for--foo-as-a-shorthand-for-thisfoo

    • -1
    • +1
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Leverage upstream changes to settings pluginManagement.repositories

    • -1
    • +1
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 4 more files in changeset.
Leverage Settings.include() vararg taking method

#543

    • -2
    • +2
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.