KotlinDslCompilerPlugins.kt

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

  1. … 1579 more files in changeset.
`kotlin-dsl` plugin sets Kotlin apiVersion and languageVersion to 1.3

to match script compilation

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

Refine KotlinDslCompilerPlugins

to preallocate two smaller strings ahead and build the whole message

when it's actually needed

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

Precompute message in order not to leak Project instance

The KotlinCompile task logger goes through RMI to the Kotlin Compiler

daemon. Holding a Project instance per task exacerbated a memory leak

in the Kotlin compiler infrastructure.

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

Set -Xprogressive for own libs compilation only

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

  1. … 4 more files in changeset.
Fix experimental warning explainer link

as a follow up to #1012

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

  1. … 1 more file in changeset.
Revisit `kotlin-dsl` experimental kotlin compiler settings warning

- remove option to turn off sam-conversion-for-kotlin-functions

- simplify warning message, linking to the user manual

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

  1. … 2 more files in changeset.
Let the `kotlin-dsl` plugin set -Xjsr305=strict

Just like the rest of the Gradle Kotlin DSL

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

Remove -Xuse-old-class-files-reading from accessors and scripts compilation

and from IDE script templates

and from kotlin-dsl plugin

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

  1. … 4 more files in changeset.
Enable kotlinc -Xuse-old-class-files-reading across the board

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

  1. … 5 more files in changeset.
Enable kotlinc -java-parameters across the board

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

  1. … 5 more files in changeset.
kotlin-dsl plugin takes control of jvmTarget

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

  1. … 1 more file in changeset.
`kotlin-dsl` plugin sets target to JVM 8

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

Let kotlin-dsl plugin not force KotlinCompile tasks realization

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

Implement `kotlin-dsl` plugin progressive mode switch

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

  1. … 3 more files in changeset.
Let `kotlin-dsl` plugin add the `-Xprogressive` Kotlin compiler option

  1. … 3 more files in changeset.
Let `kotlin-dsl` plugin enable SAM conversions for Kotlin functions

  1. … 2 more files in changeset.
Move all subprojects to the `subprojects` directory

    • -0
    • +40
    ./KotlinDslCompilerPlugins.kt
  1. … 521 more files in changeset.