Skip to content

Commit

Permalink
fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Aug 27, 2023
1 parent c35440e commit b84c666
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ private void configureSourceSet(SourceSet sourceSet) {
project.getConfigurations().getByName(sourceSet.getCompileOnlyConfigurationName()).extendsFrom(inpath);

final TaskProvider<AspectjCompile> compileTask = project.getTasks().register(sourceSet.getCompileTaskName("aspectj"), AspectjCompile.class, compile -> {
JvmPluginsHelper.configureForSourceSet(sourceSet, aspectjSource, compile, compile.getOptions(), project);
JvmPluginsHelper.compileAgainstJavaOutputs(compile, sourceSet, project.getObjects());
JvmPluginsHelper.configureAnnotationProcessorPath(sourceSet, aspectjSource, compile.getOptions(), project);
compile.dependsOn(sourceSet.getCompileJavaTaskName());
compile.getLauncher().convention(defaultLauncher);
compile.setDescription("Compiles the " + sourceSet.getName() + " AspectJ source.");
Expand Down

0 comments on commit b84c666

Please sign in to comment.