Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,22 @@ public class JibExtensionConfiguration {
* Instantiated by Jib's plugin extension mechanism
*
* <p>Not compatible with configuration cache due to usage of Project at task execution time.
*
* @param project this extension is being applied to. Not ideal for configuration cache, but
* mandated by jib extension architecture.
*/
@Inject
public JibExtensionConfiguration(final Project project) {
this(project.getObjects());
}

/**
* Constructor to allows for instantiation of this extension configuration by alternate jib-like
* frameworks such as <a href="https://github.com/pschichtel/tiny-jib">tel.schich.tinyjib</a>
*
* @param objectFactory to create {@link org.gradle.api.provider.Property} objects required by
* this class.
*/
public JibExtensionConfiguration(final ObjectFactory objectFactory) {
javaagentFiles = objectFactory.listProperty(File.class);
}
Expand Down
Loading