ProjectSchemaAccessorsIntegrationTest.kt

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. … 521 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. … 2 more files 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. … 2 more files 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 test on Windows

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

    • -0
    • +25
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Test for accessors of extensions whose generic type info is erased

    • -0
    • +50
    ./ProjectSchemaAccessorsIntegrationTest.kt
Generate Kotlin extensions for nested Gradle extensions/conventions

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

    • -0
    • +106
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 5 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.
Address minor review comments

    • -2
    • +2
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 5 more files in changeset.
Remove premature Settings extensions

    • -2
    • +2
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 3 more files in changeset.
withSettingsScript(..) & withSettingsScriptIn(..) fixtures

    • -8
    • +6
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 4 more files in changeset.
Integration tests use settings.gradle.kts files

    • -4
    • +4
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 3 more files in changeset.
Favor unit test over integration test

    • -56
    • +0
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Escape string template dollar sign in generated project accessor names

By distinguishing original name, kotlin identifier and string literal

See #494

    • -1
    • +57
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 2 more files in changeset.
Erase type of accessor for extension with inaccessible type

See #416

    • -0
    • +34
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 6 more files in changeset.
Normalise file separators so test works on Windows

    • -1
    • +3
    ./ProjectSchemaAccessorsIntegrationTest.kt
Generate accessors for configurations created by applied plugins

    • -2
    • +57
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 11 more files in changeset.
Rename gsk prefixed tasks to kotlinDslAccessorsSnapshot & kotlinDslAccessorsReport

    • -5
    • +5
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 7 more files in changeset.
Generate extension accessors by default

See #397

    • -15
    • +6
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 1 more file in changeset.
Polish ProjectSchemaAccessorsIntegrationTest

    • -2
    • +5
    ./ProjectSchemaAccessorsIntegrationTest.kt
Rename base package to org.gradle.kotlin.dsl

    • -0
    • +240
    ./ProjectSchemaAccessorsIntegrationTest.kt
  1. … 313 more files in changeset.