KotlinScriptClassloadingCache.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #885 from gradle/bamboo/fix-accessors-caching

Add generated accessors jar to the loaded script cache key

    • -13
    • +25
    ./KotlinScriptClassloadingCache.kt
  1. … 3 more files in changeset.
Move all subprojects to the `subprojects` directory

    • -133
    • +0
    ./KotlinScriptClassloadingCache.kt
  1. … 521 more files in changeset.
Use DefaultClassPath factory method instead of now deprecated ctor

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

  1. … 42 more files in changeset.
Polish `KotlinScriptClassloadingCache`

    • -16
    • +28
    ./KotlinScriptClassloadingCache.kt
Apply review comments

Simplify type parameters

Instantiate loggers once

Protect class loading cache key equals() impl from concurrent GC

  1. … 2 more files in changeset.
Extract ScriptBlock

as a compilation/classloading unit and parameter object,

pulling up hashing the source,

it was done twice on classloading cache miss before.

    • -15
    • +27
    ./KotlinScriptClassloadingCache.kt
  1. … 3 more files in changeset.
Refine KotlinScriptClassloadingCache

for readability, mostly by local renames

    • -13
    • +11
    ./KotlinScriptClassloadingCache.kt
Refine KotlinBuildScriptCompiler

by detangling compilation and classloading

  1. … 1 more file in changeset.
Introduce in-memory Kotlin scripts class loading cache

Gradle user home scoped

Coverage of multi-staged compilation & classloading

    • -0
    • +105
    ./KotlinScriptClassloadingCache.kt
  1. … 7 more files in changeset.