Skip to content

Commit

Permalink
Trigger build
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Aug 17, 2023
1 parent 3adb879 commit 2d8a7d0
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.gradle.api.Project;

import static java.util.List.of;
import static org.eclipse.edc.plugins.edcbuild.conventions.Conventions.allDependencies;
import static org.eclipse.edc.plugins.edcbuild.conventions.Conventions.checkstyle;
import static org.eclipse.edc.plugins.edcbuild.conventions.Conventions.defaultDependencies;
import static org.eclipse.edc.plugins.edcbuild.conventions.Conventions.jacoco;
Expand Down Expand Up @@ -70,6 +71,7 @@ public void apply(Project target) {
signing(),
mavenPom(),
jacoco(),
allDependencies(),
tests(),
jar(),
swagger()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*
* Contributors:
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation
*
*/

package org.eclipse.edc.plugins.edcbuild.conventions;

import org.gradle.api.Project;
import org.gradle.api.tasks.diagnostics.DependencyReportTask;

/**
* Registers the 'allDependencies' task, used to get all the dependencies from all the sub-modules.
*/
public class AllDependenciesConvention implements EdcConvention {
@Override
public void apply(Project target) {
target.getTasks().register("allDependencies", DependencyReportTask.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public static EdcConvention java() {
return new JavaConvention();
}

public static EdcConvention allDependencies() {
return new AllDependenciesConvention();
}

public static EdcConvention tests() {
return new TestConvention();
}
Expand Down

0 comments on commit 2d8a7d0

Please sign in to comment.