provider

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Emit type-safe accessors for plugins in the compile classpath

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

    • -45
    • +0
    ./ClassPathModeExceptionCollector.kt
    • -59
    • +0
    ./JarGenerationProgressMonitorProvider.kt
    • -25
    • +0
    ./KotlinScriptBasePluginsApplicator.kt
    • -277
    • +0
    ./KotlinScriptClassPathProvider.kt
  1. … 1565 more files in changeset.
Remove kotlin-eap repository

now that Kotlin 1.3-RC4 is on gradlePluginPortal() and jcenter()

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

  1. … 3 more files in changeset.
Introduce type-safe accessors for plugin ids

Starting with this commit, the Kotlin DSL will generate type-safe

accessors for all plugin ids found in the `buildSrc` classpath.

So instead of writing:

```kotlin

plugins {

id("gradlebuild.strict-compile")

id("gradlebuild.classcycle")

}

```

One can write:

```kotlin

plugins {

gradlebuild.`strict-compile`

gradlebuild.classcycle

}

```

All while enjoying content assist and source code navigation all the

way down to the plugin implementation class.

  1. … 16 more files in changeset.
Always add `kotlinEap()` to the list of plugin repositories

Upgrade Kotlin to 1.3-rc-51

  1. … 3 more files in changeset.
Touch up `KotlinScriptEvaluator`

Touch up `KotlinScriptEvaluator`

- Organize imports

- Remove unused ConfigurationTargetIdentifier

Extract GradleApiMetadata into .support internal package

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

  1. … 5 more files in changeset.
Add initial func test support for script compile build ops

  1. … 4 more files in changeset.
Don't automatically add `kotlin-(dev|eap)` repositories to builds

  1. … 2 more files in changeset.
Let progress description shown to TAPI clients be indicative

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

    • -1
    • +1
    ./JarGenerationProgressMonitorProvider.kt
Revert to using ProgressLogger only for now

This should be revisited once BuildOperationContext.progress(String) is

introduced.

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

    • -5
    • +6
    ./JarGenerationProgressMonitorProvider.kt
  1. … 1 more file in changeset.
Replace deprecated ProgressLogger.setLoggingHeader by build operation

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

    • -2
    • +1
    ./JarGenerationProgressMonitorProvider.kt
  1. … 1 more file in changeset.
Move gradleKotlinDslJars() to support

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

  1. … 2 more files in changeset.
Move `BuildCacheController` integration to `ScriptCache`

  1. … 2 more files in changeset.
Move kotlinEap() to internals

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

  1. … 3 more files in changeset.
Remove usages of kotlinDev()

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

  1. … 1 more file in changeset.
Register both kotlin-dev and kotlin-eap repositories

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

  1. … 2 more files in changeset.
Preserve and return a proper `OriginTaskExecutionMetadata` value

That's better behaviour but it still doesn't fix the interaction with

the `build-scan` plugin. That will require removing an assumption from

the plugin about caching operations only happening during task

execution.

  1. … 4 more files in changeset.
Merge branch 'develop' into eskatos/gradle-api-gen/kclass-and-groovy-named-arguments

    • -14
    • +21
    ./KotlinScriptClassPathProvider.kt
  1. … 4 more files in changeset.
Polish `KotlinScriptClassPathProvider`

Make `KotlinBuildScriptModelBuilder` resilient against exceptions

Particularly against exceptions happening during script classpath

computation.

  1. … 2 more files in changeset.
Improve `KotlinScriptClassPathProvider`

- Avoid traversing the `ClassLoaderScope` hierarchy on every operation

by caching `ClassLoaderScopeRegistry.coreAndPlugins`

- Avoid creating temporary collections by caching the classpaths as

sets of files

- Preserve order on computed classpaths

    • -11
    • +18
    ./KotlinScriptClassPathProvider.kt
  1. … 3 more files in changeset.
Let `Project` scripts be cached in the Gradle build cache

If the build cache is enabled and the Gradle property

`org.gradle.kotlin.dsl.caching.buildcache` is set to true.

  1. … 12 more files in changeset.
Add `KotlinScriptHost<*>` parameter to `cachedDirFor`

In preparation for the build cache integration.

  1. … 2 more files in changeset.
Pass Gradle API metadata jar argument explicitly

  1. … 2 more files in changeset.
Make the script compilation cache relocatable

By storing the post-processed second stage script text as a constant

in the emitted bytecode instead of keeping it in an external file.

  1. … 6 more files in changeset.
Don't store original script path in the residual program

But take it from the given `ScriptSource` and cache it in the script

host.

  1. … 5 more files in changeset.
Account for new usages

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