Skip to content

Commit

Permalink
Apply HDVL base plugin in C plugin, instead of SystemVerilog plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tudortimi committed Jan 14, 2021
1 parent 85219ac commit 57f9816
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package com.verificationgentleman.gradle.hdvl.c;

import com.verificationgentleman.gradle.hdvl.GenArgsFile;
import com.verificationgentleman.gradle.hdvl.HDVLBasePlugin;
import com.verificationgentleman.gradle.hdvl.SourceSet;
import com.verificationgentleman.gradle.hdvl.c.internal.DefaultCSourceSet;
import com.verificationgentleman.gradle.hdvl.systemverilog.SystemVerilogPlugin;
import org.gradle.api.Action;
import org.gradle.api.NamedDomainObjectContainer;
import org.gradle.api.Plugin;
Expand All @@ -29,7 +29,7 @@
public class CPlugin implements Plugin<Project> {
@Override
public void apply(Project project) {
project.getPluginManager().apply(SystemVerilogPlugin.class);
project.getPluginManager().apply(HDVLBasePlugin.class);
NamedDomainObjectContainer<SourceSet> sourceSets
= (NamedDomainObjectContainer<SourceSet>) project.getExtensions().getByName("sourceSets");
sourceSets.all(new Action<SourceSet>() {
Expand Down

0 comments on commit 57f9816

Please sign in to comment.