use of org.jetbrains.jps.model.module.JpsModuleReference in project android by JetBrains.
the class AndroidFinalPackageElementBuilder method getApkPath.
@Nullable
private static String getApkPath(JpsAndroidFinalPackageElement element) {
final JpsModuleReference ref = element.getModuleReference();
final JpsModule module = ref != null ? ref.resolve() : null;
if (module == null) {
return null;
}
final JpsAndroidModuleExtension extension = AndroidJpsUtil.getExtension(module);
if (extension == null) {
return null;
}
return getApkPath(extension);
}
Aggregations