Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add property name and path sensitivity to userguide samples

  1. … 4 more files in changeset.
Add property name and path sensitivity to userguide samples

  1. … 4 more files in changeset.
Add property name and path sensitivity to userguide samples

  1. … 4 more files in changeset.
Add property name and path sensitivity to userguide samples

  1. … 4 more files in changeset.
Add property name and path normalization to `userguide/files`

More change regarding code review comments

  1. … 1 more file in changeset.
Improve sample code and add missing Kotlin sample

Document how to extra a subset of an archive and moving it to a new root

  1. … 2 more files in changeset.
Replace appendix with classifier in sample

The documentation states, a couple lines before including this sample,

that classifier is to be preferred over appendix for correct

publication.

    • -1
    • +1
    ./archivesWithJavaPlugin/kotlin/build.gradle.kts
  1. … 1 more file in changeset.
Doc updates: deprecations in AbstractArchiveTask

This commit contains the userguide and javadoc updates following the

deprecations in AbstractArchiveTask.

Samples are also updated to no longer use any deprecated API.

Issue #8217

    • -5
    • +5
    ./archiveNaming/kotlin/build.gradle.kts
    • -4
    • +4
    ./archivesChangedBaseName/kotlin/build.gradle.kts
    • -1
    • +1
    ./archivesWithJavaPlugin/kotlin/build.gradle.kts
    • -2
    • +2
    ./sampleJavaProject/groovy/build.gradle
  1. … 15 more files in changeset.
Remove references to register in more Groovy samples

  1. … 1 more file in changeset.
Revert "Convert groovy samples to lazy tasks API"

This reverts commit 5201a50eb5eb42ad69f327c9f8b073c115653656.

    • -2
    • +2
    ./sampleJavaProject/groovy/build.gradle
  1. … 248 more files in changeset.
Fix most errors related to sample conversion to lazy task API

    • -2
    • +2
    ./archivesChangedBaseName/kotlin/build.gradle.kts
  1. … 22 more files in changeset.
Merge branch 'release' into lacasseio/lazy/convert-sample-lazy

    • -4
    • +2
    ./archivesWithJavaPlugin/kotlin/build.gradle.kts
    • -1
    • +1
    ./fileCollections/kotlin/build.gradle.kts
  1. … 2 more files in changeset.
Convert `userguide` samples to lazy tasks API

    • -2
    • +2
    ./archiveNaming/kotlin/build.gradle.kts
    • -3
    • +3
    ./archivesChangedBaseName/kotlin/build.gradle.kts
    • -1
    • +1
    ./archivesWithBasePlugin/kotlin/build.gradle.kts
    • -1
    • +1
    ./archivesWithJavaPlugin/kotlin/build.gradle.kts
    • -3
    • +3
    ./fileCollections/kotlin/build.gradle.kts
  1. … 148 more files in changeset.
Sweep up some lazy task equivalents for groovy

  1. … 6 more files in changeset.
Refine samples/userguide/files for uniformity

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

Leverage Kotlin lambdas in samples where applicable

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

    • -4
    • +2
    ./archivesWithJavaPlugin/kotlin/build.gradle.kts
    • -1
    • +1
    ./fileCollections/kotlin/build.gradle.kts
  1. … 2 more files in changeset.
Convert groovy samples to lazy tasks API

    • -2
    • +2
    ./sampleJavaProject/groovy/build.gradle
  1. … 253 more files in changeset.
Fix userguide/files/copy/kotlin sample

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

Prefer type-safe accessors for tasks

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

  1. … 31 more files in changeset.
Prefer type-safe accessors for source sets

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

    • -1
    • +1
    ./archivesWithJavaPlugin/kotlin/build.gradle.kts
  1. … 12 more files in changeset.
Fix failed userguide sample tests

Some userguide tests don't have property settings files, so the removal of

searchUpwards caused them to fail. This commit fixes this issue.

    • -0
    • +1
    ./misc/groovy/project2/settings.gradle
    • -0
    • +1
    ./misc/kotlin/project2/settings.gradle.kts
  1. … 16 more files in changeset.
Prefer Closure over configure task (#6912)

    • -9
    • +7
    ./archivesWithJavaPlugin/kotlin/build.gradle.kts
Fix samples which resolve configuration eagerly (#6620)

Previously we have several samples which resolve configurations eagerly at configuration phase. This is extremely terrible given that people usually copy code snippets from our samples. This PR fixes them by resolving these configurations lazily. Also, these samples can't benefit from our mirror infrastructure because mirrors take effect in `afterEvaluate{}` block.

    • -5
    • +9
    ./archivesWithJavaPlugin/kotlin/build.gradle.kts
  1. … 8 more files in changeset.
Fix samples integration tests

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

  1. … 3 more files in changeset.
fix issues after Paul Merlin's second review

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

    • -1
    • +1
    ./misc/kotlin/project2/build.gradle.kts
    • -2
    • +2
    ./sampleJavaProject/groovy/build.gradle
  1. … 4 more files in changeset.
fix issues after Paul Merlin's first review

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

    • -2
    • +2
    ./archiveNaming/kotlin/build.gradle.kts
    • -2
    • +2
    ./archivesChangedBaseName/kotlin/build.gradle.kts
    • -3
    • +3
    ./archivesWithBasePlugin/kotlin/build.gradle.kts
    • -2
    • +2
    ./archivesWithJavaPlugin/kotlin/build.gradle.kts
    • -0
    • +1
    ./fileCollections/fileCollectionsWithClosure.sample.conf
    • -10
    • +7
    ./fileCollections/kotlin/build.gradle.kts
    • -1
    • +1
    ./misc/kotlin/project2/build.gradle.kts
include Kotlin DSL sample for chapter working_with_files (archivesChangedBaseName example)

Issue #6442

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

    • -24
    • +0
    ./archivesChangedBaseName/build.gradle
    • -0
    • +24
    ./archivesChangedBaseName/groovy/build.gradle
    • -0
    • +1
    ./archivesChangedBaseName/groovy/settings.gradle
    • -0
    • +2
    ./archivesChangedBaseName/groovy/somedir/file.txt
    • -0
    • +24
    ./archivesChangedBaseName/kotlin/build.gradle.kts
    • -0
    • +1
    ./archivesChangedBaseName/kotlin/settings.gradle.kts
    • -0
    • +2
    ./archivesChangedBaseName/kotlin/somedir/file.txt
    • -1
    • +0
    ./archivesChangedBaseName/settings.gradle
    • -2
    • +0
    ./archivesChangedBaseName/somedir/file.txt
    • -4
    • +13
    ./archivesChangedBaseName/zipWithArchivesBaseName.sample.conf
  1. … 1 more file in changeset.
include Kotlin DSL sample for chapter working_with_files (archiveNaming example)

Issue #6442

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

    • -4
    • +13
    ./archiveNaming/archiveNaming.sample.conf
    • -0
    • +28
    ./archiveNaming/groovy/build.gradle
    • -0
    • +1
    ./archiveNaming/groovy/settings.gradle
    • -0
    • +2
    ./archiveNaming/groovy/somedir/file.txt
    • -0
    • +28
    ./archiveNaming/kotlin/build.gradle.kts
    • -0
    • +1
    ./archiveNaming/kotlin/settings.gradle.kts
    • -0
    • +2
    ./archiveNaming/kotlin/somedir/file.txt
    • -4
    • +13
    ./archiveNaming/zipWithCustomName.sample.conf
  1. … 1 more file in changeset.