Simple housekeeping improvements

This commit is contained in:
Jonathan Leitschuh 2020-01-15 12:42:11 -05:00 committed by Paul Merlin
parent c17576acf6
commit f783f98dff
3 changed files with 7 additions and 2 deletions

View file

@ -72,3 +72,8 @@ we highly recommend that you reach out to us at [security@gradle.com](mailto:sec
If you're curious and want to explore what the differences are between the `gradle-wrapper.jar` in your possession If you're curious and want to explore what the differences are between the `gradle-wrapper.jar` in your possession
and one of our valid release, you can compare them using this online utility: [DiffScope](https://try.diffoscope.org/). and one of our valid release, you can compare them using this online utility: [DiffScope](https://try.diffoscope.org/).
Regardless of what you find, we still kindly request that you reach out to us and let us know about any issues you encountered. Regardless of what you find, we still kindly request that you reach out to us and let us know about any issues you encountered.
## Resources
To learn more about verifying the Gradle Wrapper JAR locally, see our
[guide on the topic](https://docs.gradle.org/current/userguide/gradle_wrapper.html#wrapper_checksum_verification).

2
dist/index.js vendored
View file

@ -1645,7 +1645,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
const httpm = __importStar(__webpack_require__(874)); const httpm = __importStar(__webpack_require__(874));
const httpc = new httpm.HttpClient('eskatos/gradle-wrapper-check'); const httpc = new httpm.HttpClient('gradle/wrapper-validation-action');
function fetchValidChecksums(allowSnapshots) { function fetchValidChecksums(allowSnapshots) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const all = yield httpGetJsonArray('https://services.gradle.org/versions/all'); const all = yield httpGetJsonArray('https://services.gradle.org/versions/all');

View file

@ -1,6 +1,6 @@
import * as httpm from 'typed-rest-client/HttpClient' import * as httpm from 'typed-rest-client/HttpClient'
const httpc = new httpm.HttpClient('eskatos/gradle-wrapper-check') const httpc = new httpm.HttpClient('gradle/wrapper-validation-action')
export async function fetchValidChecksums( export async function fetchValidChecksums(
allowSnapshots: boolean allowSnapshots: boolean