Skip to content

Commit

Permalink
Apply the Base Plugin when applying the HDVL Base Plugin
Browse files Browse the repository at this point in the history
This gives us the standard lifecycle tasks that other plugins have.
Notably, this gives us the `clean` task, which deletes the entire build
directory, and a set of `clean<TaskName` tasks, which clean the outputs
of the respective tasks.
  • Loading branch information
tudortimi committed Jan 25, 2023
1 parent 93a5c76 commit 0c0748c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public class HDVLBasePlugin implements Plugin<Project> {

@Override
public void apply(Project project) {
project.getPluginManager().apply("base");

final DefaultHDVLPluginExtension extension = new DefaultHDVLPluginExtension(project);
project.getExtensions().add("hdvl", extension);
project.getExtensions().add("sourceSets", extension.getSourceSets());
Expand Down

0 comments on commit 0c0748c

Please sign in to comment.