Factory

interface Factory(source)

A basic factory interface for creating AgpHandler instances. These should be implemented and contributed as a service loader via something like @AutoService.

IMPORTANT: This interface should not use any AGP APIs outside the implementation of currentVersion and create.

Inheritors

Types

Link copied to clipboard

Properties

Link copied to clipboard
abstract val currentVersion: AndroidPluginVersion

Attempts to get the current AGP version or throws and exception if it cannot.

Link copied to clipboard
abstract val minVersion: AndroidPluginVersion

Functions

Link copied to clipboard
abstract fun create(): AgpHandler