LibraryDependencyData (ExternalProjectDependency projectDependency, int classpathOrderShift, ModuleData ownerModule, DependencyScope dependencyScope) { final LibraryLevel level = LibraryLevel.MODULE; final LibraryData library = new LibraryData(GradleConstants.SYSTEM_ID, ""); LibraryDependencyData libraryDependencyData = new LibraryDependencyData(ownerModule, library, level); libraryDependencyData.setScope(dependencyScope); libraryDependencyData.setOrder(projectDependency.getClasspathOrder() + classpathOrderShift); libraryDependencyData.setExported(projectDependency.getExported()); return libraryDependencyData; }