congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
LenientConfiguration.getAllModuleDependencies
Code IndexAdd Tabnine to your IDE (free)

How to use
getAllModuleDependencies
method
in
org.gradle.api.artifacts.LenientConfiguration

Best Java code snippets using org.gradle.api.artifacts.LenientConfiguration.getAllModuleDependencies (Showing top 1 results out of 315)

origin: gradle.plugin.com.github.krs.xrepo-gradle-plugin/xrepo-gradle-plugin

private static DependencyOverwrites collectDependenciesToOverwrite(final Configuration compileClasspath, final Configuration testCompile,
                                  final XRepoConfiguration config, final Project project) {
  final Configuration groupDeps = dependenciesWithinProjectGroup(testCompile, project);
  debug(project, "Found {} dependencies with group {}", groupDeps.getAllDependencies().size(), project.getGroup());
  useSuffixedVersions(groupDeps, config, project);
  final DependencyOverwrites result = new DependencyOverwrites();
  compileClasspath.getIncoming().beforeResolve((deps) -> {
    groupDeps.getResolvedConfiguration().getLenientConfiguration().getAllModuleDependencies().forEach(dep -> {
      if (isInSameGroup(dep.getModuleGroup(), project)) {
        debug(project, "Found overwritten dependency {}:{}:{}", dep.getModuleGroup(), dep.getModuleName(), dep.getModuleVersion());
        result.add(dep);
      }
    });
  });
  return result;
}
org.gradle.api.artifactsLenientConfigurationgetAllModuleDependencies

Popular methods of LenientConfiguration

  • getArtifacts
  • getUnresolvedModuleDependencies
  • getFirstLevelModuleDependencies

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • Path (java.nio.file)
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now