Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to limit Dagger factory generation to specific source sets #727

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Merge branch 'main' into dagger-factories-source-sets
# Conflicts:
#	gradle-plugin/src/main/java/com/squareup/anvil/plugin/VariantFilter.kt
  • Loading branch information
matejdro committed Aug 18, 2023
commit 7ec16b2982ab9b48b5db9c37d464b8faf831e785
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ public interface VariantFilter : Named {
*/
public var syncGeneratedSources: Boolean

/**
* Add the `annotations-optional` artifact as a dependency. The default
* value comes from the [AnvilExtension]. See [AnvilExtension.addOptionalAnnotations] for more
* details.
*/
public var addOptionalAnnotations: Boolean
}

internal class CommonFilter(
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.