Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Upgrade to Groovy 2.5.3-SNAPSHOT (#6903)

This is a temporary measure until Groovy 2.5.3 GA comes out to fix Java 11 incompatibilities.

Replace usage of deprecated `createIsolatedClassLoader`

Polish `CompactTree`

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. … 3 more files in changeset.
Fix performance test labeling

Convert `language-scala` build script to Kotlin

    • -0
    • +28
    /subprojects/language-scala/language-scala.gradle.kts
Convert `language-jvm` build script to Kotlin

    • -0
    • +26
    /subprojects/language-jvm/language-jvm.gradle.kts
Convert `language-java` build script to Kotlin

    • -0
    • +42
    /subprojects/language-java/language-java.gradle.kts
Convert `language-groovy` build script to Kotlin

Convert `javascript` build script to Kotlin

    • -38
    • +0
    /subprojects/javascript/javascript.gradle
    • -0
    • +40
    /subprojects/javascript/javascript.gradle.kts
Convert `jacoco` build script to Kotlin

    • -0
    • +34
    /subprojects/jacoco/jacoco.gradle.kts
Convert `integ-test` build script to Kotlin

    • -46
    • +0
    /subprojects/integ-test/integ-test.gradle
    • -0
    • +53
    /subprojects/integ-test/integ-test.gradle.kts
Convert `ide-play` build script to Kotlin

    • -44
    • +0
    /subprojects/ide-play/ide-play.gradle
    • -0
    • +45
    /subprojects/ide-play/ide-play.gradle.kts
Convert `ide` build script to Kotlin

    • -0
    • +56
    /subprojects/ide/ide.gradle.kts
Convert `ear` build script to Kotlin

    • -0
    • +31
    /subprojects/ear/ear.gradle.kts
Convert `diagnostics` build script to Kotlin

    • -0
    • +55
    /subprojects/diagnostics/diagnostics.gradle.kts
Convert `core-api` build script to Kotlin

    • -51
    • +0
    /subprojects/core-api/core-api.gradle
    • -0
    • +51
    /subprojects/core-api/core-api.gradle.kts
Convert `core` build script to Kotlin

    • -0
    • +140
    /subprojects/core/core.gradle.kts
Merge pull request #6977 from gradle/lacasseio/kotlin/convert-native-build-script

Convert native build script to Kotlin

Convert `cli` build script to Kotlin

    • -0
    • +36
    /subprojects/cli/cli.gradle.kts
Convert `build-scan-performance` build scripts to Kotlin

Convert `build-init` build script to Kotlin

    • -91
    • +0
    /subprojects/build-init/build-init.gradle
    • -0
    • +97
    /subprojects/build-init/build-init.gradle.kts
Upgrade Kotlin DSL to 1.0-rc-12

Tweak experimental build scan performance test

Convert `build-cache-http` build script to Kotlin

Allow testing with `java.system.class.path` and SLF4j

The core `Slf4jLoggingConfigurer` assumes that the Gradle implementation

of `org.slf4j.ILoggerFactory` is being used. This is not the case when

tests are run using a custom system classloader (by setting the

`java.system.class.loader` system property).

Previously, this would result in a `ClassCastException` when attempting

to configure the logger. This change makes `Slf4jLoggingConfigurer` lenient

in this case, opting not to configure the underlying logger rather than

fail.

Fixes #2657

Merge pull request #6975 from gradle/lacasseio/docs/task-configuration-avoidance-kotlin

Add Kotlin code sample where it make sense

Convert native build script to Kotlin

    • -43
    • +0
    /subprojects/ide-native/ide-native.gradle
Convert native build script to Kotlin

    • -43
    • +0
    /subprojects/ide-native/ide-native.gradle
    • -0
    • +43
    /subprojects/ide-native/ide-native.gradle.kts
    • -0
    • +43
    /subprojects/testing-native/testing-native.gradle.kts
Avoid repeating task name when creating them