Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Minor edits to a couple of test classes.

Ignore nested class in JUnit platform test

Moved `IncludedBuildInternal` to live with `IncludedBuildRegistry` so that the registry can reference the internal type and used this to simplify the registry API.

Use GZip to compress payload

Merge pull request #4323 from gradle/dd/dependency-management/local-repo-cache

Prior to this change, local file repositories used a completely separate caching infrastructure for in-memory caching. This made the code difficult to understand, and led to subtle differences (bugs) between resolution against remote and local repositories.

This changeset consolidates the cache infrastructure, changing local file repositories to use the CachingModuleComponentRepository and removing the separate InMemoryCachedModuleComponentRepository. Requests for local repositories continue to bypass the persistent caches: the CachingModuleComponentRepository is provided with in-memory caches for this purpose.

There was a ~5% negative performance impact of these changes when resolving a large dependency graph against a local file repository. This was offset by an improvement to avoid XML Schema validation when parsing Ivy files.

Count only loaded/deleted files/dirs during load

Fix spelling metaData -> metadata

Fix entry counter

Introduce in-memory versions of dependency caches

Currently, local file repositories use a completely separate caching

infrastructure for in-memory caching. This makes the code difficult

to understand, and can lead to subtle differences (bugs) between

resolution against remote and local repositories.

This commit introduces in-memory versions of the four key resolution

caches, which will be used to consolidate caching infrastructure

between local and remote repositories.

These caches are not yet used.

Avoid XML validation for downloaded Ivy descriptor files

XML validation is expensive, and we were paying this cost on every

resolve for a local file repository. While XML validation does provide

some improved error messages for malformed Ivy files, the benefit does

not seem to be enough to justify the cost.

This change improved performance of local (file) Ivy repository by 23%.

XML validation is still performed when publishing Ivy descriptor files

with the `ivy-publish` plugin.

Use same classloader when filtering @Categories in JUnit

This fixes

Previously we load JUnit Categories with application classloader,

which might mismatch with actually classloader (e.g. Powermock)

and result in invalid categories configuration. This PR uses same

classloader with Runner when loading category classes to avoid

this issue.

Fix distribution jar count

Fix failed tests

    • -2
    • +2
Improve store and load performance

By not using DataInputStream and DataOutputStream.

Also, we now report cache overhead as Unpack build operations

Disable failing perf tests for Swift

Update wrapper to latest nightly

    • -1
    • +1
Merge pull request #4313 from gradle/bamboo/kotlin-dsl/0.15.5

Upgrade `kotlin-dsl` {0.15.4 => 0.15.5}

Migrated antlr and base-services builds to Kotlin

    • -0
    • +29
    • -0
    • +59
Detangle incremental compiler builder from tool chain for compile task

fix more tests

Update DSL docs for native tasks

    • -1
    • +1
    • -1
    • +4
    • -1
    • +10
Changed the 'swiftpm-export' plugin to reuse the same service to map a project dependency to a Swift PM target, as is used by the other publishing plugins to map a project dependency to a GAV.

  1. … 5 more files in changeset.
Toward 0.16.x

Upgrade `kotlin-dsl` {0.15.4 => 0.15.5}

Kotlin DSL 0.15.x features:

- improved error reporting

- better performance due to a new in-memory script class cache

- init script support

- better interaction with IntelliJ IDEA (less "all red" situations)

- bug fixes

Prepare 0.15.5 release


- Remove unused parameter

- Replace vals by consts

- Remove unnecessary curly braces

Update wrappers to latest snapshot distro

    • -1
    • +1
  1. … 20 more files in changeset.
Fix test failures

  1. … 9 more files in changeset.
Changed the C++ and Swift plugins to register a Swift PM publication for each library and application for a project.

Added a display name for each native component implementation.

Added a convenience to `Describables` to format a display name for an object with a type and a name.