maybeAsApi

inline suspend fun <T : ConfiguredDependency> T.maybeAsApi(dependentProject: McProject): T

Return

Returns a ConfiguredDependency with an -api variant configuration if the dependency should be api, or -implementation otherwise.

Sources

Link copied to clipboard