gradle / gradle/gradle

Modernize GoogleTest native sample

Open
#36,967 0 comments 0 reactions 0 assignees View on GitHub
a:chore in:native-platform
Dominant language
Groovy
Stars
18.8k
Forks
5.3k
Avg merge
1d 22h
Merged PRs (30d)
163

Description

### Issue type

Polishing

### Problem description

The sample currently requires VisualCpp 2015 on Windows. It should be modernized to require a more recent version.

See [this](https://github.com/gradle/gradle/blob/master/platforms/documentation/docs/src/snippets/native-binaries/google-test/README.md) and the following sample code:
https://github.com/gradle/gradle/blob/3a8aa93e6f4319e3931d70d4f81a693146d837ad/platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/build.gradle#L82-L87

The snippet is used in [documentation](https://docs.gradle.org/9.4.0/userguide/native_software.html#native_binaries:google_test).

### Context (optional)

Discovered while working on #24990

Contributor guide

Open the contributing guide

Research direction

Open platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/build.gradle around lines 82-87 and review the related README.md. Confirm the current VisualCpp requirement and update the sample to the intended more recent version, then verify the snippet used by the native_software GoogleTest documentation reflects the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
documentation
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.