gestalt icon indicating copy to clipboard operation
gestalt copied to clipboard

feature(gradle-test): provide ablity for indexes provides by third party lib.

Open DarkWeird opened this issue 4 years ago • 2 comments

Description

This PR resolves problem with adding TeraNUI v3. You should not add gestalt v8 deps for TeraNUI's core module. only for nui-gestalt-di lib.

Usage:



/**
 * Index redirects for dependents libs/games.
 * Requires gestalt-di's annotation processing for dependents builds.
 */

@IndexInherited
@BindAnnotationFor(UIWidget.class)
abstract class UIWidgetIndex {
}

@IndexInherited
@BindAnnotationFor(UILayout.class)
abstract class UILayoutIndex {

}

@IndexInherited
@BindAnnotationFor(CopyStrategy.class)
abstract class CopyStrategyIndex {

}

Limitations:

  1. This works for any dependents libs with gestalt-di dep. not dependecies. (there can be resolved with Index task)

DarkWeird avatar Jun 09 '21 08:06 DarkWeird