Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adding tests for fork options on worker daemons

Move `configurationAttributesSchema` down to `DependencyHandler`

This commit fixes gradle/performance#251 by moving the attributes schema to the dependency handler. It's worth noting that

is also renames the configuration method from `configurationAttributesSchema` to simply `attributesSchema`.

  1. … 4 more files in changeset.
Tooling API: Support jdkName from idea module model

The information specified by

idea {

module {

jdkName = "My JDK"

}

}

is not made available by the tooling API. In order to fix

https://youtrack.jetbrains.com/issue/IDEA-138526

this change is required first. The language level is already handled automatically in recent versions of IDEA. However, if modules have different language levels, the project JDK is not suitable for them and you have to be able to set a module-specific JDK.

Find a better home for `Usage`

Fix Ivy publish integration test expectations

Fix expectations on Ivy samples integration tests

Use separate user home for each version under performance test

Until now, each performance test was using a separate test directory,

but the different versions under test were all using the same directory.

This meant that therer was a consistent bias depending on the order in which

the versions were executed.

Merge pull request #981 from gradle/so-fix-eclipse-file-dependencies

Fix local file dependency leak in IDE model

Merge branch 'release'

Check for password too

+review REVIEW-6404

ignore code quality samples test for java 9 to unblock ci chain

Fix performance regression in test execution

Regression was caused by removing support for class hierarchies in SerializerRegistry as worker protocol

for test execution relies on class hierarchies due to using interfaces and plain Object.class types.

Having multiple SerializerRegistry instances registered that support full class hierarchies causes trouble with

protocols using Object.class.

This was removed due to worker processes hanging when introducing new worker logging infrastructure.

- fix serialisation of test events to use custom serializer again instead of java serialisation

- fixed by explicitly setting class matching strategy in DefaultSerializerRegistry.

- remove Serializable interface from test event classes to avoid this kind of regression in the future

Task is not cacheable as it doesn't declare outputs

Move logic into parent class

Reuse logic

More test coverage for worker daemon failure scenarios

- Check failures when instantiating the runnable fails

- Check failures when the wrong parameters are passed to the worker daemon

Fix indentation

Fix local file dependency leak in IDE model

The IDE dependency resolver was always leaking local file

dependencies into dependent projects, even if the target

configuration was marked as transitive=false. This broke

things like EAR projects depending on a WAR project with

a local file dependency.

Remove typo in test case name

Set keep alive for scheduled executor service to 10s to reuse threads

Mention gradle/gradle#841 on the test case

Remove unused imports

Address review comments, naming and tests setup

Slightly increase memory for bigOldJava, as 3.2.1 also struggles with 512m

Handle serialization exceptions gracefully in worker daemons

- Add StreamFailureMessage message type

- Have MessageHub receiver/dispatcher catch object stream errors, inject StreamFailureMessage, and continue processing instead of exiting

- Catch object stream errors in SocketConnection and throw a typed exception

Restore inheritance between `api` and `compile` for consistency between old `java` plugin and `java-library` plugin

Reset performance test memory for large projects

Hide `configurationAttributesSchema` from public API

The API is not ready for prime time yet, so this commit makes it unusable

in practice by hiding the only way to declare the attributes schema

private. Users that will rely on this internal API would be warned.

Revert scala version to stay Java 7 compatible

Remove `getConsumerValue` from `MultipleCandidatesDetails`

This allows us to use producer schema disambiguation, in case a value is missing from the consumer.