Clone
 

jnizet <jb@ninja-squad.com> in Gradle

Changes after review

- one sentence per line

- NPM config files as input

- ListProperty<String>

- pass a string rather than a file to outputs.file()

- link to guide for relocatability

Signed-off-by: jnizet <jb@ninja-squad.com>

Use a generic NpmTask, which just takes arguments

Signed-off-by: jnizet <jb@ninja-squad.com>

Avoid promoting ad-hoc tasks, and use a JavaExec-based example instead

Signed-off-by: jnizet <jb@ninja-squad.com>

use `task<Type>()` consistently to create tasks in Kotlin scripts

replace usages of `task(String, KClass)` and `tasks.create<Type>(String)`.

Signed-off-by: jnizet <jb@ninja-squad.com>

fix scala samples integration tests

Signed-off-by: jnizet <jb@ninja-squad.com>

document how to make ad-hoc tasks cacheable

Signed-off-by: jnizet <jb@ninja-squad.com>

  1. … 10 more files in changeset.
include Kotlin DSL sample for chapter scala_plugin (ideaTargetVersion sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter scala_plugin (crossCompilation sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

  1. … 10 more files in changeset.
include Kotlin DSL sample for chapter scala_plugin (force sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter scala_plugin (zinc sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -0
    • +26
    /subprojects/docs/src/samples/scala/zinc/groovy/build.gradle
include Kotlin DSL sample for chapter scala_plugin (zincOverride sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter scala_plugin (zincDependency sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter scala_plugin (scalaDependency sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter scala_plugin (customizedLayout sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter scala_plugin (quickstart sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

refine prose of chapter multi_project_builds

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter multi_project_builds (outgoingArtifact sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

  1. … 10 more files in changeset.
include Kotlin DSL sample for chapter multi_project_builds (javaWithCustomConf sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

  1. … 8 more files in changeset.
include Kotlin DSL sample for chapter multi_project_builds (java sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

  1. … 35 more files in changeset.
include Kotlin DSL sample for chapter multi_project_builds (webDist sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

  1. … 5 more files in changeset.
include Kotlin DSL sample for chapter multi_project_builds (messagesHack sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter multi_project_builds (firstMessages sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter multi_project_builds (partialTasks sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

  1. … 3 more files in changeset.
include Kotlin DSL sample for chapter multi_project_builds (tropicalWithProperties sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

  1. … 8 more files in changeset.
include Kotlin DSL sample for chapter multi_project_builds (addTropical sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter multi_project_builds (spreadSpecifics sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter multi_project_builds (subprojectsAddFromTop sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter multi_project_builds (useSubprojects sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter multi_project_builds (addKrill sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter multi_project_builds (firstExample sample)

Signed-off-by: jnizet <jb@ninja-squad.com>