maybeAsApi

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

Return

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

Since

0.12.0