mirror of https://github.com/renovatebot/renovate
29 lines
906 B
TypeScript
29 lines
906 B
TypeScript
import type { Category } from '../../../constants';
|
|
import { GithubReleasesDatasource } from '../../datasource/github-releases';
|
|
import { MavenDatasource } from '../../datasource/maven';
|
|
import { SbtPackageDatasource } from '../../datasource/sbt-package';
|
|
import { SbtPluginDatasource } from '../../datasource/sbt-plugin';
|
|
import * as ivyVersioning from '../../versioning/ivy';
|
|
|
|
export { extractAllPackageFiles, extractPackageFile } from './extract';
|
|
export { bumpPackageVersion } from './update';
|
|
|
|
export const supportedDatasources = [
|
|
MavenDatasource.id,
|
|
SbtPackageDatasource.id,
|
|
SbtPluginDatasource.id,
|
|
GithubReleasesDatasource.id, // For sbt itself
|
|
];
|
|
|
|
export const defaultConfig = {
|
|
fileMatch: [
|
|
'\\.sbt$',
|
|
'project/[^/]*\\.scala$',
|
|
'project/build\\.properties$',
|
|
'(^|/)repositories$',
|
|
],
|
|
versioning: ivyVersioning.id,
|
|
};
|
|
|
|
export const categories: Category[] = ['java'];
|