Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix unit test.

Use native-platform to detect whether stdin is attached to a console, rather than `System.console()`, as this can detect more cases, such as when Gradle is running from mintty on Windows (e.g. the cygwin terminal).

This allows the `init` task to prompt the user interactively when run from mintty on Windows.

Also consolidate some of the "is x connected to a console?" logic into a single place.

  1. … 11 more files in changeset.
Use native-platform to detect whether stdin is attached to a console, rather than `System.console()`, as this can detect more cases, such as when Gradle is running from mintty on Windows (e.g. the cygwin terminal).

This allows the `init` task to prompt the user interactively when run from mintty on Windows.

Also consolidate some of the "is x connected to a console?" logic into a single place.

  1. … 11 more files in changeset.
Use native-platform to detect whether stdin is attached to a console, rather than `System.console()`, as this can detect more cases, such as when Gradle is running from mintty on Windows (e.g. the cygwin terminal).

This allows the `init` task to prompt the user interactively when run from mintty on Windows.

Also consolidate some of the "is x connected to a console?" logic into a single place.

  1. … 11 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

  1. … 652 more files in changeset.
Apply `'try finally' replaceable with 'try' with resources` inspection the whole project

  1. … 50 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

  1. … 895 more files in changeset.
Resolve some review item

  1. … 18 more files in changeset.
Resolve some review item

  1. … 18 more files in changeset.
Resolve some review item

  1. … 18 more files in changeset.
Resolve some review item

  1. … 18 more files in changeset.
Revert "Ignore failing test for now"

This reverts commit 09f28a51ae9b673d8693b07b93f7a66cf31af982.

Revert "Ignore failing test for now"

This reverts commit 09f28a51ae9b673d8693b07b93f7a66cf31af982.

Revert "Ignore failing test for now"

This reverts commit 90e15b3e55fbba276f94e96aea8bfed7ab9fa85a.

Print stacktrace

  1. … 1 more file in changeset.
Ignore some tests

  1. … 1 more file in changeset.
Test build type id

  1. … 1 more file in changeset.
Try java.io.tmpdir

  1. … 1 more file in changeset.
Use G1GC as default for daemon on Java 8+

Use G1GC as default for daemon on Java 8+

Print properties

Resolve review items

  1. … 15 more files in changeset.
Resolve review items

  1. … 16 more files in changeset.
Resolve review items

  1. … 15 more files in changeset.
Resolve review items

  1. … 15 more files in changeset.
Resolve review items

  1. … 15 more files in changeset.
Resolve review items

  1. … 15 more files in changeset.
Resolve review items

  1. … 15 more files in changeset.