kotlin-dsl-tooling-builders

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename method to not be a getter, to avoid being accidentally invoked

  1. … 3 more files in changeset.
Attach the buildSrc export scope to settings

This is the minimal change required to make Kotlin DSL IDE integration

work. When getting a script's classpath fails, we fall back to this

classpath.

  1. … 8 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 90 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

  1. … 90 more files in changeset.
Remove TextResourceLoader.Factory

  1. … 32 more files in changeset.
Fix execution of integration tests

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 25 more files in changeset.
Fix execution of integration tests

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 25 more files in changeset.
Fix execution of integration tests

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 25 more files in changeset.
Fix execution of integration tests

    • -0
    • +1
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 25 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 88 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 84 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 84 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 84 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 84 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 88 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 84 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 84 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -0
    • +3
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 84 more files in changeset.
Change 'compilOnly' to the more correct 'implementation'

    • -13
    • +8
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 6 more files in changeset.
Change 'compilOnly' to the more correct 'implementation'

    • -13
    • +8
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 6 more files in changeset.
Change 'compilOnly' to the more correct 'implementation'

    • -13
    • +8
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 5 more files in changeset.
Correct 'compilOnly' to 'implementation'

    • -13
    • +8
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 4 more files in changeset.
Change all subprojects to use 'implementation' dependencies

This includes:

- All projects now explicitly declare all dependencies to other

subprojects. This makes issues more visible, guards for accidental

addition of new dependencies, and leaks much less transitive

dependencies on the compile classpathes.

- All usages of 'runtime' to declare dependencies have been replaced

with 'runtimeOnly'

- All projects are now `java-library` (and declare this explicitly)

- Most remaining Groovy scripts are translated to Kotlin

- The old 'compile' and 'runtime' configurations are not

configured/created anymore for the 'testFixture' and 'integTest'

source sets.

- Some obsolete dependencies (see previous commits) are removed

- 'api' is used scarcely on purpose as the current project structure is

not well designed for this. The projects contain code for several

concerns of the build tool and thus putting complete projects on the

API of others exposes too much. They should be split up along

functional concerns first.

    • -5
    • +16
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 112 more files in changeset.
Adjust tests to avoid unnecessary additional test dependencies

  1. … 5 more files in changeset.
Use 'implementation' dependencies everywhere

    • -5
    • +16
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -5
    • +16
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 282 more files in changeset.
Use 'implementation' dependencies everywhere

    • -6
    • +13
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -5
    • +16
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

    • -5
    • +16
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -5
    • +16
    ./kotlin-dsl-tooling-builders.gradle.kts
  1. … 284 more files in changeset.