DefaultJarBinarySpecTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Separate `ITaskFactory` from `NamedEntityInstantiator<Task>` so that the instantiator is applied as a decoration over the factory.

  1. … 37 more files in changeset.
Make extensible type fixtures work with managed types

Things that had to be cleared up:

- not all Base*Fixtures classes were creating nodes with managed

projections

- some tests were using a separate ManagedProxyFactory, and the same

type got generated twice in the same classloader

+review REVIEW-5695

  1. … 16 more files in changeset.
Use the public type of a `LanguageSourceSet` in its display name.

+review REVIEW-5708

  1. … 20 more files in changeset.
BaseBinarySpec.sources is a node-backed ModelMap

  1. … 22 more files in changeset.
Moved the concept of the owning component of a binary up from various subtypes up to BaseBinarySpec.

Previously, native and jvm library binary specs exposed their owning component, for use in rules. This is now available in a consistent way for all binary specs (which can all be owned by a component). Later, this should probably be moved to a view that is mixed in to those binaries that are actually owned by a component.

This change also allows certain immutable properties of the component to be used to calculate some properties of the binary.

  1. … 11 more files in changeset.
Unit test fixes for change to test fixture API.

  1. … 2 more files in changeset.
Make DirectInstantiator a singleton.

  1. … 89 more files in changeset.
Allow tasks to be created directly, via «binary».tasks.

This breaks configuration cycles in some cases, by avoiding the need for rules that mutate the binary and the task container.

It is however an intermediary step until a more generally available approach is needed for this common case (i.e. having domain objects have associated tasks).

  1. … 40 more files in changeset.
Simplified display name for jvm components and binaries

  1. … 12 more files in changeset.
Don’t use BinaryNamingScheme in BaseBinarySpec or JvmBinarySpec

  1. … 18 more files in changeset.
JvmBinarySpec extends BaseBinarySpec

  1. … 19 more files in changeset.
Renamed JvmPlatform -> JavaPlatform

  1. … 21 more files in changeset.
Jvm targets: moved out of api

  1. … 15 more files in changeset.
Jvm targets: moved platform.jvm -> jvm.platform

  1. … 15 more files in changeset.
Clean up by removing platform from Java CompileTask

  1. … 12 more files in changeset.
Renamed org.gradle.runtime.base -> org.gradle.platform.base

  1. … 210 more files in changeset.
Package rename: org.gradle.runtime.jvm -> org.gradle.jvm

    • -0
    • +74
    ./DefaultJarBinarySpecTest.groovy
  1. … 80 more files in changeset.