KotlinCompiler.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Flush output stream after redirecting it

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Ignore compiler output when not `isDebugEnabled`

  1. … 1 more file in changeset.
Flush `LoggingOutputStream`

Stream compiler output to the debug log instead of accumulating it

Redirect Kotlin compiler output to the debug log

:arrow_up: Kotlin 1.3.20

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

  1. … 1 more file in changeset.
Move kotlin-dsl in a sub directory

  1. … 1579 more files in changeset.
Polish `KotlinCompiler.kt`

Make the root `Disposable` implicit.

Polish `KotlinCompiler`

Bump script language level to 1.3

  1. … 1 more file in changeset.
Transform list chain into sequence chain

Upgrade Kotlin to 1.2.70

  1. … 1 more file in changeset.
Compile accessors to a classes dir instead of a jar

To circumvent long living classloaders holding locks to JARs.

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

  1. … 4 more files in changeset.
Downgrade JVM target of generated extensions back to 1.6

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.
Remove -java-parameters from accessors and scripts compilation

and from IDE script templates

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

  1. … 3 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.
Fix accessors compilation to target JVM 8

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

Let script compiler target be 1.8

So inline functions from Kotlin libraries compiled against 1.8 can be

used.

Fixes #955

  1. … 1 more file in changeset.
Polish `KotlinCompiler`

Rename `languageVersionSettings` field to disambiguate from the

`CompilerConfiguration.languageVersionSettings` extension.

Enable SAM conversions for Kotlin functions

  1. … 1 more file in changeset.
Fix `:plugins-experiments`

- Upgrade ktlint and ktlint-gradle for compatibility with the Kotlin EAP

- Make the Kotlin script compiler skip the metadata version check

  1. … 4 more files in changeset.
Disable `SamConversionForKotlinFunctions` and remove related code

  1. … 2 more files in changeset.
Polish `compilerConfigurationFor`

Upgrade Kotlin to 1.2.60-eap-44

  1. … 26 more files in changeset.
Set IDEA IO fallback before creating Kotlin compiler environment

Ensure IO fallback is configured before calling the Kotlin compiler

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

    • -0
    • +330
    ./KotlinCompiler.kt
  1. … 521 more files in changeset.