mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 09:41:46 +00:00
5ffc308673
As found with recent changes to the Terraform manager, although we generally have `lockFileMaintenance` being executed by an external package manager being invoked by `exec(...)`, there are a few package managers that do not do so. To make it very clear how this happens, we can add a new field to the Manager API, which will provide a means to document this. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>
34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
import type { Category } from '../../../constants/index.ts';
|
|
import { MavenDatasource } from '../../datasource/maven/index.ts';
|
|
import * as gradleVersioning from '../../versioning/gradle/index.ts';
|
|
|
|
export { updateArtifacts } from './artifacts.ts';
|
|
export { knownDepTypes } from './dep-types.ts';
|
|
export { extractAllPackageFiles } from './extract.ts';
|
|
export { updateDependency } from './update.ts';
|
|
|
|
export const supportsLockFileMaintenance = true;
|
|
export const lockFileNames = ['gradle.lockfile'];
|
|
export const lockFileMaintenanceIsDelegatedToPackageManager = true;
|
|
|
|
export const url =
|
|
'https://docs.gradle.org/current/userguide/getting_started_dep_man.html';
|
|
export const categories: Category[] = ['java'];
|
|
|
|
export const defaultConfig = {
|
|
managerFilePatterns: [
|
|
'/\\.gradle(\\.kts)?$/',
|
|
'/(^|/)gradle\\.properties$/',
|
|
'/(^|/)gradle/.+\\.toml$/',
|
|
'/(^|/)buildSrc/.+\\.kt$/',
|
|
'/\\.versions\\.toml$/',
|
|
// The two below is for gradle-consistent-versions plugin
|
|
`/(^|/)versions.props$/`,
|
|
`/(^|/)versions.lock$/`,
|
|
],
|
|
timeout: 600,
|
|
versioning: gradleVersioning.id,
|
|
};
|
|
|
|
export const supportedDatasources = [MavenDatasource.id];
|