kotlin

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move kotlin-dsl in a sub directory

    • -250
    • +0
    ./build/GradleApiParameterNamesTransform.kt
    • -70
    • +0
    ./codegen/GenerateClasspathManifest.kt
    • -161
    • +0
    ./codegen/GenerateKotlinDependencyExtensions.kt
    • -39
    • +0
    ./plugins/kotlin-dsl-module.gradle.kts
    • -95
    • +0
    ./plugins/kotlin-dsl-plugin-bundle.gradle.kts
  1. … 1565 more files in changeset.
Use new published ktlint-convention plugin

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

  1. … 2 more files in changeset.
Fix GenerateScriptPluginAdapters task input/output annotations

And let :*:validateTaskProperties fail the build on warnings

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

    • -2
    • +7
    ./plugins/kotlin-dsl-plugin-bundle.gradle.kts
  1. … 2 more files in changeset.
Fix deprecation warning in buildSrc

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

    • -1
    • +1
    ./plugins/kotlin-dsl-module.gradle.kts
Set Kotlin `apiVersion` and `languageVersion` to 1.3

Polish `public-kotlin-dsl-module.gradle.kts`

Favour `publications { create... }` over `publications.create...` for

the javadoc of the former is richer.

    • -3
    • +5
    ./plugins/public-kotlin-dsl-module.gradle.kts
Introduce `QuickBench` task

    • -0
    • +80
    ./integration/QuickBench.kt
Favour the lazy API in the `kotlin-dsl` build

    • -2
    • +4
    ./plugins/public-kotlin-dsl-module.gradle.kts
Let kotlin-dsl-plugin-bundle plugin lazily register task

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

    • -6
    • +7
    ./plugins/kotlin-dsl-plugin-bundle.gradle.kts
Polish `GradleApiParameterNamesTransform`

- Rename parameter for consistency

- Compose method further

- Simplify sequence of statements using `run`

    • -8
    • +15
    ./build/GradleApiParameterNamesTransform.kt
Let GradleApiParameterNamesTransform write directly to output jar file

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

    • -25
    • +39
    ./build/GradleApiParameterNamesTransform.kt
Fix ProjectBuilder tests by letting gradleApi() transform output a jar

by zipping the produced classes directory

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

    • -7
    • +16
    ./build/GradleApiParameterNamesTransform.kt
  1. … 2 more files in changeset.
Refine GradleApiParameterNamesTransform

by fixing jar entries filtering

and letting more bytecode pass through

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

    • -4
    • +2
    ./build/GradleApiParameterNamesTransform.kt
Add `kotlin-dsl-base` plugin spec val

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

    • -0
    • +13
    ./codegen/GenerateKotlinDependencyExtensions.kt
Migrate to the official coroutines API

  1. … 4 more files in changeset.
Don't build kotlin-dsl with -Xuse-old-class-files-reading

not needed anymore with Kotlin 1.2.70, see KT-25193

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

Register gradle-api-parameter-names transform once

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

    • -1
    • +13
    ./build/GradleApiParameterNamesTransform.kt
Refine some build scripts leveraging extensions for Groovy named args

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

    • -3
    • +1
    ./plugins/public-kotlin-dsl-module.gradle.kts
  1. … 1 more file in changeset.
Revert "Let more tasks defined in buildSrc be cacheable"

This reverts commit f240aa22f9eb8057c39121ddd190ef9785435fbf.

    • -28
    • +18
    ./codegen/GenerateClasspathManifest.kt
    • -25
    • +19
    ./codegen/GenerateKotlinDependencyExtensions.kt
    • -1
    • +1
    ./plugins/public-kotlin-dsl-module.gradle.kts
  1. … 1 more file in changeset.
Let more tasks defined in buildSrc be cacheable

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

    • -18
    • +28
    ./codegen/GenerateClasspathManifest.kt
    • -19
    • +25
    ./codegen/GenerateKotlinDependencyExtensions.kt
    • -1
    • +1
    ./plugins/public-kotlin-dsl-module.gradle.kts
  1. … 1 more file in changeset.
Remove test worker memory limits

So `JavaScriptSampleTest` succeeds on Java 9.

Remove test worker memory limits

So `JavaScriptSampleTest` succeeds on Java 9.

Take advantage of the lazy container API

    • -2
    • +1
    ./plugins/kotlin-dsl-module.gradle.kts
    • -2
    • +2
    ./plugins/kotlin-dsl-plugin-bundle.gradle.kts
    • -1
    • +1
    ./plugins/public-kotlin-dsl-module.gradle.kts
  1. … 6 more files in changeset.
Take advantage of the lazy container API

    • -2
    • +1
    ./plugins/kotlin-dsl-module.gradle.kts
    • -2
    • +2
    ./plugins/kotlin-dsl-plugin-bundle.gradle.kts
    • -1
    • +1
    ./plugins/public-kotlin-dsl-module.gradle.kts
  1. … 6 more files in changeset.
Exclude `source-control` from the performance test

  1. … 1 more file in changeset.
Introduce the `kotlin-dsl-precompiled-script-plugins` plugin spec

And revert `PrecompiledScriptPlugins` being applied automatically by

the `kotlin-dsl` plugin.

    • -0
    • +13
    ./codegen/GenerateKotlinDependencyExtensions.kt
  1. … 6 more files in changeset.
Set -Xprogressive for own libs compilation only

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

  1. … 4 more files in changeset.
Settle hydrated parameter access metadata

0 should be fine

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

    • -1
    • +0
    ./build/GradleApiParameterNamesTransform.kt
Refine GradleApiParameterNamesTransform

- rename method for clarity

- extract explaining methods

- tighten members visibility

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

    • -18
    • +31
    ./build/GradleApiParameterNamesTransform.kt
Upgrade and re-enable ktlint-convention plugin

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

  1. … 1 more file in changeset.