Skip to content

Commit

Permalink
Fix default values for plugin info in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalluck committed Nov 20, 2023
1 parent 29100e8 commit a458ed6
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@ public List<BuildToolInfo> lookupBuildToolInfo(String name) {

@Override
public List<String> lookupPluginInfo(String name) {
return List.of();
return switch (name) {
case MAVEN -> List.of("org.glassfish.copyright:glassfish-copyright-maven-plugin",
"org.sonatype.plugins:nexus-staging-maven-plugin",
"com.mycila:license-maven-plugin",
"org.codehaus.mojo:findbugs-maven-plugin", // older version of this will break the build on our version of maven
"de.jjohannes:gradle-module-metadata-maven-plugin");
case GRADLE -> List.of("kotlin.gradle.targets.js", "org.jetbrains.dokka");
default -> List.of();
};
}
};

Expand Down

0 comments on commit a458ed6

Please sign in to comment.