Skip to content

Commit

Permalink
Merge pull request #65 from openrewrite/adding-dependency-check-to-base
Browse files Browse the repository at this point in the history
Adding RewriteDependencyCheckPlugin to the base plugin
  • Loading branch information
lkerford authored Jan 2, 2025
2 parents 63a3880 + 7bf2bae commit 6f1ef11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/openrewrite/gradle/RewriteJavaPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public class RewriteJavaPlugin implements Plugin<Project> {

@Override
public void apply(Project project) {
project.getPlugins().apply(RewriteDependencyCheckPlugin.class);

RewriteJavaExtension ext = project.getExtensions().create("rewriteJava", RewriteJavaExtension.class);
ext.getJacksonVersion().convention("2.17.2");

Expand Down Expand Up @@ -105,7 +107,7 @@ private static void configureTesting(Project project) {
// );

project.getTasks().withType(Test.class).configureEach(task -> {
if(System.getenv("CI") == null) {
if (System.getenv("CI") == null) {
// Developer machines typically use CPUs with hyper-threading, so the logical core count is double
// what is useful to enable
task.setMaxParallelForks(
Expand Down

0 comments on commit 6f1ef11

Please sign in to comment.