kotlin

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
    ./ConfigurableFileCollectionExtensions.kt
    • -274
    • +0
    ./DependencyHandlerExtensions.kt
    • -50
    • +0
    ./DomainObjectCollectionExtensions.kt
    • -50
    • +0
    ./NamedDomainObjectCollectionExtensions.kt
    • -160
    • +0
    ./NamedDomainObjectContainerExtensions.kt
    • -31
    • +0
    ./ObjectConfigurationActionExtensions.kt
  1. … 299 more files in changeset.
Add org.gradle.kotlin.dsl.* to implicit imports

Introduce gradleKotlinDsl(), deprecate gradleScriptKotlinApi()

    • -4
    • +4
    ./provider/KotlinScriptClassPathProvider.kt
  1. … 3 more files in changeset.
Implicitly import `java.math.BigDecimal`

Implicitly import `java.util.concurrent.TimeUnit`

Apply rename to file paths

    • -3
    • +3
    ./provider/KotlinScriptClassPathProvider.kt
  1. … 7 more files in changeset.
Polish `EmbeddedKotlinProvider`

- remove remainders of method renames

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

- rename a method for consistency

Polish `EmbeddedKotlinProvider`

- rename a method for consistency

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

See #307

  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
    ./provider/KotlinBuildScriptCompiler.kt
    • -4
    • +16
    ./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
    ./support/EmbeddedKotlinProvider.kt
Remove unnecessary imports

    • -2
    • +0
    ./provider/KotlinBuildScriptCompiler.kt
Omit `Unit` return type

Allow `extra` delegated properties to be initialized at declaration

Resolves #307

  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
    ./provider/KotlinBuildScriptCompiler.kt
    • -2
    • +5
    ./provider/KotlinScriptPluginFactory.kt
    • -0
    • +4
    ./services/KotlinScriptServiceRegistry.kt
    • -0
    • +132
    ./support/EmbeddedKotlinProvider.kt
    • -0
    • +27
    ./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