Skip to content

Commit

Permalink
[apache#4865] Register JDPA and Java Compiler Output on Project level
Browse files Browse the repository at this point in the history
  • Loading branch information
lkishalmi committed Nov 27, 2022
1 parent 3219354 commit dd6c9f7
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/
public class LookupProviders {

@LookupProvider.Registration(projectType = NbGradleProject.GRADLE_PLUGIN_TYPE + "/java-base")
@LookupProvider.Registration(projectType = NbGradleProject.GRADLE_PROJECT_TYPE)
public static LookupProvider createJavaBaseProvider() {
return new LookupProvider() {
@Override
Expand All @@ -41,16 +41,4 @@ public Lookup createAdditionalLookup(Lookup baseContext) {
}
};
}

@LookupProvider.Registration(projectTypes = {
@LookupProvider.Registration.ProjectType(id = NbGradleProject.GRADLE_PLUGIN_TYPE + "/com.github.lkishalmi.gatling"),
@LookupProvider.Registration.ProjectType(id = NbGradleProject.GRADLE_PLUGIN_TYPE + "/io.gatling.gradle")
})
public static LookupProvider createGatlingProvider() {
return (baseContext) -> {
return Lookups.fixed(
new JDPAProcessorFactory()
);
};
}
}

0 comments on commit dd6c9f7

Please sign in to comment.