Skip to content

Commit

Permalink
feat(manager/gradle): add support for micronaut plugin (renovatebot#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
Churro authored and firke committed Jan 12, 2024
1 parent 0c87c3b commit de815c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/modules/manager/gradle/parser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ describe('modules/manager/gradle/parser', () => {
${''} | ${'unknown { toolVersion = "1.2.3" }'} | ${null}
${''} | ${'composeOptions { kotlinCompilerExtensionVersion = "1.2.3" }'} | ${{ depName: 'composeOptions', packageName: GRADLE_PLUGINS['composeOptions'][1], currentValue: '1.2.3' }}
${''} | ${'jmh { jmhVersion = "1.2.3" }'} | ${{ depName: 'jmh', packageName: GRADLE_PLUGINS['jmh'][1], currentValue: '1.2.3' }}
${''} | ${'micronaut { version = "1.2.3" }'} | ${{ depName: 'micronaut', packageName: GRADLE_PLUGINS['micronaut'][1], currentValue: '1.2.3' }}
`('$def | $input', ({ def, input, output }) => {
const { deps } = parseGradle([def, input].join('\n'));
expect(deps).toMatchObject([output].filter(is.truthy));
Expand Down
1 change: 1 addition & 0 deletions lib/modules/manager/gradle/parser/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const GRADLE_PLUGINS = {
jacoco: ['toolVersion', 'org.jacoco:jacoco'],
jmh: ['jmhVersion', 'org.openjdk.jmh:jmh-core'],
lombok: ['version', 'org.projectlombok:lombok'],
micronaut: ['version', 'io.micronaut.platform:micronaut-platform'],
pmd: ['toolVersion', 'net.sourceforge.pmd:pmd-java'],
spotbugs: ['toolVersion', 'com.github.spotbugs:spotbugs'],
};
Expand Down

0 comments on commit de815c7

Please sign in to comment.