use of com.android.tools.idea.model.ClassJarProvider in project intellij by bazelbuild.
the class BlazeClassJarProviderIntegrationTest method doSetup.
@Before
public void doSetup() {
module = testFixture.getModule();
ArtifactLocationDecoder decoder = (location) -> new File("/src", location.getExecutionRootRelativePath());
BlazeProjectData blazeProjectData = MockBlazeProjectDataBuilder.builder(workspaceRoot).setTargetMap(buildTargetMap()).setArtifactLocationDecoder(decoder).build();
registerProjectService(BlazeProjectDataManager.class, new MockBlazeProjectDataManager(blazeProjectData));
classJarProvider = new BlazeClassJarProvider(getProject());
}
Aggregations