script

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move all subprojects to the `subprojects` directory

  1. … 521 more files in changeset.
Enable `-Xjsr305=strict` via `@ScriptTemplateAdditionalCompilerArguments`

See #463

  1. … 3 more files in changeset.
lint: missing new line before ")"

  1. … 42 more files in changeset.
Take target object from the host

  1. … 8 more files in changeset.
Make `ScriptHandler` available to the script via `KotlinScriptHost`

  1. … 7 more files in changeset.
Let scripts ScriptHandler be the one belonging to the script

  1. … 6 more files in changeset.
Rename base package to org.gradle.kotlin.dsl

    • -40
    • +0
    ./lang/kotlin/ConfigurableFileCollectionExtensions.kt
    • -33
    • +0
    ./lang/kotlin/ConfigurationExtensions.kt
    • -35
    • +0
    ./lang/kotlin/ConventionExtensions.kt
    • -32
    • +0
    ./lang/kotlin/CopySpecExtensions.kt
    • -274
    • +0
    ./lang/kotlin/DependencyHandlerExtensions.kt
    • -66
    • +0
    ./lang/kotlin/DependencyHandlerScope.kt
    • -50
    • +0
    ./lang/kotlin/DomainObjectCollectionExtensions.kt
    • -60
    • +0
    ./lang/kotlin/ExtensionContainerExtensions.kt
    • -94
    • +0
    ./lang/kotlin/ExtraPropertiesExtensions.kt
    • -77
    • +0
    ./lang/kotlin/GroovyInteroperability.kt
    • -50
    • +0
    ./lang/kotlin/NamedDomainObjectCollectionExtensions.kt
    • -160
    • +0
    ./lang/kotlin/NamedDomainObjectContainerExtensions.kt
    • -31
    • +0
    ./lang/kotlin/ObjectConfigurationActionExtensions.kt
  1. … 299 more files in changeset.
Add org.gradle.kotlin.dsl.* to implicit imports

    • -1
    • +2
    ./lang/kotlin/support/ImplicitImports.kt
Introduce gradleKotlinDsl(), deprecate gradleScriptKotlinApi()

  1. … 3 more files in changeset.
Implicitly import `java.math.BigDecimal`

    • -0
    • +1
    ./lang/kotlin/support/ImplicitImports.kt
Implicitly import `java.util.concurrent.TimeUnit`

    • -1
    • +6
    ./lang/kotlin/support/ImplicitImports.kt
Apply rename to file paths

  1. … 7 more files in changeset.
Polish `EmbeddedKotlinProvider`

- remove remainders of method renames

    • -28
    • +0
    ./lang/kotlin/support/EmbeddedKotlinProvider.kt
Polish `EmbeddedKotlinProvider`

- rename a method for consistency

Polish `EmbeddedKotlinProvider`

- rename a method for consistency

    • -0
    • +12
    ./lang/kotlin/support/EmbeddedKotlinProvider.kt
Allow `extra` property initialization via lambda expression

See #307

    • -0
    • +11
    ./lang/kotlin/ExtraPropertiesExtensions.kt
  1. … 1 more file in changeset.
Polish `KotlinBuildScriptCompiler`

- Compose methods

- Rename `EmbeddedKotlinProvider` methods to improve prose

- Dedupe `embeddedKotlinProvider` usage with `run`

- Favour indexer over explicit `getByName`

    • -4
    • +19
    ./lang/kotlin/provider/KotlinBuildScriptCompiler.kt
    • -4
    • +16
    ./lang/kotlin/support/EmbeddedKotlinProvider.kt
Polish `EmbeddedKotlinProvider`

- Compose methods

- Omit obvious type from vals

- Replace `<x>.run { <y>; this }` by `<x>.apply { <y> }`

- Keep type members one line apart instead of two

    • -16
    • +36
    ./lang/kotlin/support/EmbeddedKotlinProvider.kt
Remove unnecessary imports

Omit `Unit` return type

Allow `extra` delegated properties to be initialized at declaration

Resolves #307

    • -0
    • +34
    ./lang/kotlin/ExtraPropertiesExtensions.kt
  1. … 1 more file in changeset.
Embedded Kotlin dependencies are resolved from distribution for build script classpath

kotlin-stdlib and kotlin-reflect are also pinned to the embedded version

See #385

    • -1
    • +10
    ./lang/kotlin/provider/KotlinBuildScriptCompiler.kt
    • -0
    • +132
    ./lang/kotlin/support/EmbeddedKotlinProvider.kt
    • -0
    • +27
    ./lang/kotlin/support/GradleUserHomeServices.kt
  1. … 1 more file in changeset.
Distinguish :plugins versions used for accessors and publication

Accessors are now generated by GenerateKotlinDependencyExtensions

  1. … 3 more files in changeset.
Adjust code to match project conventions

- Indent function arguments rather than aligning them

- Group imported packages

- Use single line to separate type members (two lines for module members)

  1. … 2 more files in changeset.
Improve builtin plugin documentation links

By adding some more links to documentation

See #314

Adjust sources to coding conventions

  1. … 8 more files in changeset.
Improve builtin plugin documentation links

By choosing a better landing page when it exists or removing the link

altogether when it doesn't.

See #314

  1. … 1 more file in changeset.
Shorter plugin ids

  1. … 1 more file in changeset.
Introduce `kotlin-dsl` plugin

adds gradleScriptKotlinApi() dependency

applies gsk kotlin compiler plugin to production code

  1. … 5 more files in changeset.
Fix wrong package in kdoc for embedded-plugin accessor