Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Include the project name in the default base name of the C++ unit test executable.

Changed construction of test binaries to use a similar pattern as production binaries.

Fixed Javadoc comments.

Javadocs.

Moved some classes around to break package cycle.

Changed the `cpp-unit-test` plugin to behave more like the `xctest` plugin, so that it will compile and run the test suite when there is no component under test present, and to use a similar naming scheme for tasks and directory names.

Re-added a type to represent an executable built for tests implemented in C++.

Introduce unknown Swift platform

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

Introduced a native testing base plugin, to take care of common aspects of native test support. Currently simply adds some lifecycle tasks.

Introduced an abstraction to represent a native test suite and renamed `testExecutable` to `testBinary` on each of the native test suite types.

Moved responsibility for wiring up the `assemble` task to build the development binary out of the various specific plugins and into the `NativeBasePlugin`.

Added abstractions to represent an installable component, a linkable component and a component with runtime files and use these to communicate between the specific plugins and the base plugin.

Address coments from code review

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

Remove cycle dependency between `platform-native` and `language-native`

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

Added missing `@since` tags.

Introduced an abstraction for a native component that has a development binary, and use this for libraries and applications, but not test suites. Removed the `developmentBinary` property from the test suite types.

  1. … 5 more files in changeset.
Use `getComponentUnderTestDsl` instead

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

Changed construction of the binaries of a native component to avoid leaking the services used by the binary implementations into the components.

Changed `CppTestSuite.testExecutable` to `Provider` for consistency with the other native components and to reflect the fact that the test executable is not guaranteed to be created eagerly.

Refactored native component tests to remove an abstract method that is not longer required as each component now has a `binaries` container that can be used by the test instead.

Added a factory for plugins to use to create native component instances. This currently is internal but may later move to the public API.

Using the factory decouples the plugins from the services used by the component implementations.

Moved `NativeBinaryContainer` out of `o.g.language.swift` as it is no longer Swift specific.

Introduced a native language base plugin, to reduce some duplication of logic across the various native plugins. This plugin doesn't do anything much at this stage.

Added an interface to represent a native component that has binaries. The native base plugin takes care of registering the binaries of a component in `project.components` rather than have each plugin know that it has to do this.

Model the linkages of a C++ library as a `Set` rather than a `List`.

Some int test polishing.

Fixed int tests on Linux.

Add tests demonstrating gradle#3019

These tests demonstrate that Gradle only considers the cache expiry

policy for the first configuration that resolves a particular

dynamic version or snapshot module. This is particularly problematic

since detached configurations never get any cache expiry configured

via `configurations.all`.

As such, if a detached configuration is the first to resolve a dynamic

version or snapshot during a build invocation, it may cause the user-

configured cache expiry to be ignored. Several popular plugins,

including the Spring dependency management plugin, add detached

configurations that will be resolved early in a build invocation.

Fixed int tests on Linux.

Allow '+' character in module replacement input

Fixes #1472

Adjust Distribution Integration Spec to account for moved version

Signed-off-by: Eric Wendelin <eric@gradle.com>

Implement new docs home page

Issue: gradle/dotorg-docs#1 (!)

Signed-off-by: Eric Wendelin <eric@gradle.com>

    • -0
    • +26
    /subprojects/docs/src/docs/css/base.css
Pretty mobile navigation

Issue: gradle/dotorg-docs#124

Signed-off-by: Eric Wendelin <eric@gradle.com>

    • -5
    • +11
    /subprojects/docs/src/docs/css/base.css
Fix vertical alignment of logo and docs version

Signed-off-by: Eric Wendelin <eric@gradle.com>

    • -3
    • +4
    /subprojects/docs/src/docs/css/base.css
Prevent userguide single from being indexed by search engines

This avoids duplicate content penalties.

Issue: dotorg/docs#92

Signed-off-by: Eric Wendelin <eric@gradle.com>