Package com.android.tools.idea.gradle.dependency

Examples of com.android.tools.idea.gradle.dependency.LibraryDependency


            }
        }
    }

    private void updateDependency(@NotNull ModifiableRootModel model, @NotNull File library) {
        LibraryDependency libraryDependency = new LibraryDependency(library, DependencyScope.TEST);
        updateDependency(model, libraryDependency);
    }
View Full Code Here


            ModuleOrderEntry orderEntry = model.addModuleOrderEntry(moduleDependency);
            orderEntry.setExported(true);
            return;
        }

        LibraryDependency backup = dependency.getBackupDependency();
        boolean hasLibraryBackup = backup != null;
        String msg = String.format("Unable to find module with Gradle path '%1$s'.", dependency.getGradlePath());

        Message.Type type = Message.Type.ERROR;
        if (hasLibraryBackup) {
            msg += String.format(" Linking to library '%1$s' instead.", backup.getName());
            type = Message.Type.WARNING;
        }

        LOG.info(msg);
View Full Code Here

TOP

Related Classes of com.android.tools.idea.gradle.dependency.LibraryDependency

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.