Matthew Haughton

Results 125 issues of Matthew Haughton

Fixes #? ### Context Gradle has required Java 8 to run since Gradle 5.0 ### Contributor Checklist - [x] [Review Contribution Guidelines](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md) - [x] Make sure that all commits are...

from:contributor

Run `Detekt` task, `DetektGenerateConfigTask` and `DetektCreateBaselineTask` with Gradle's [Worker API](https://docs.gradle.org/7.2/userguide/worker_api.html). This uses [process isolation mode](https://docs.gradle.org/7.2/userguide/worker_api.html#creating_a_worker_daemon) which will allow using the toolchains feature in future (#4120). Performance in general seems acceptable...

gradle
build
notable changes

## Expected Behavior If I am using Gradle's toolchain support for my Kotlin project, detekt should, by default, use the version of the JDK specified by the toolchain during execution....

feature
gradle
never gets stale

An alternative to #4905 I took the approach of reverse engineering the Gradle functionality that allows plugin classpaths to be injected when using TestKit. This custom solution can't yet go...

gradle
build

Fixes #5150 We don't have good functional test coverage for Android so we're not guarded against introducing new issues. However the implementation of `getCompileConfiguration()` calls `getVariantData().getVariantDependencies().getCompileClasspath()`, so without digging further...

gradle

## Expected Behavior of the rule If a detekt rules requires type resolution it needs the appropriate annotation applied. We should have a custom rule for this. ## Context #5128...

rules

This could be either a single, configurable rule, or a series of rules, that performs checks on the contents of multiline strings. ## Expected Behavior of the rule * Check...

help wanted
rules

Blocked until Gradle 7.6 is released. ## Expected Behavior This will assist in migration to Gradle 8 where the configuration cache is expected to be stable. ## Current Behavior Can't...

build
blocked

## Expected Behavior The detekt `BindingContext` is identical to that used in equivalent Kotlin compilation task. ## Current Behavior There are multiple existing issues: 1. Compilation classpath differs between detekt...

feature
core
gradle
never gets stale

## Expected Behavior Tests are as fast as they can be. ## Current Behavior The "dry run" tests aren't integration tests but use Gradle's TestKit, which is slow. The `:detekt-gradle-plugin:test`...

gradle
housekeeping
never gets stale