org.gradle.api.artifacts.SelfResolvingDependency Java Examples
The following examples show how to use
org.gradle.api.artifacts.SelfResolvingDependency.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DependencyFilesNotationParser.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void convert(FileCollection notation, NotationConvertResult<? super SelfResolvingDependency> result) throws TypeConversionException { result.converted(instantiator.newInstance(DefaultSelfResolvingDependency.class, notation)); }
Example #2
Source File: DependencyClassPathNotationParser.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void convert(DependencyFactory.ClassPathNotation notation, NotationConvertResult<? super SelfResolvingDependency> result) throws TypeConversionException { Collection<File> classpath = classPathRegistry.getClassPath(notation.name()).getAsFiles(); FileCollection files = fileResolver.resolveFiles(classpath); result.converted(instantiator.newInstance(DefaultSelfResolvingDependency.class, files)); }
Example #3
Source File: DefaultDependencySet.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void resolve(TaskDependencyResolveContext context) { for (SelfResolvingDependency dependency : DefaultDependencySet.this.withType(SelfResolvingDependency.class)) { context.add(dependency); } }
Example #4
Source File: DefaultSelfResolvingDependency.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public SelfResolvingDependency copy() { return new DefaultSelfResolvingDependency(source); }
Example #5
Source File: DependencyFilesNotationParser.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public SelfResolvingDependency parseType(FileCollection notation) { return instantiator.newInstance(DefaultSelfResolvingDependency.class, notation); }
Example #6
Source File: DependencyClassPathNotationParser.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public SelfResolvingDependency parseType(DependencyFactory.ClassPathNotation notation) { Collection<File> classpath = classPathRegistry.getClassPath(notation.name()).getAsFiles(); FileCollection files = fileResolver.resolveFiles(classpath); return instantiator.newInstance(DefaultSelfResolvingDependency.class, files); }
Example #7
Source File: DefaultDependencySet.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void resolve(TaskDependencyResolveContext context) { for (SelfResolvingDependency dependency : DefaultDependencySet.this.withType(SelfResolvingDependency.class)) { context.add(dependency); } }
Example #8
Source File: DefaultSelfResolvingDependency.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public SelfResolvingDependency copy() { return new DefaultSelfResolvingDependency(source); }
Example #9
Source File: DependencyFilesNotationParser.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void convert(FileCollection notation, NotationConvertResult<? super SelfResolvingDependency> result) throws TypeConversionException { result.converted(instantiator.newInstance(DefaultSelfResolvingDependency.class, notation)); }
Example #10
Source File: DependencyClassPathNotationParser.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void convert(DependencyFactory.ClassPathNotation notation, NotationConvertResult<? super SelfResolvingDependency> result) throws TypeConversionException { Collection<File> classpath = classPathRegistry.getClassPath(notation.name()).getAsFiles(); FileCollection files = fileResolver.resolveFiles(classpath); result.converted(instantiator.newInstance(DefaultSelfResolvingDependency.class, files)); }
Example #11
Source File: DefaultDependencySet.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void resolve(TaskDependencyResolveContext context) { for (SelfResolvingDependency dependency : DefaultDependencySet.this.withType(SelfResolvingDependency.class)) { context.add(dependency); } }
Example #12
Source File: DefaultSelfResolvingDependency.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public SelfResolvingDependency copy() { return new DefaultSelfResolvingDependency(source); }
Example #13
Source File: DependencyFilesNotationParser.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public SelfResolvingDependency parseType(FileCollection notation) { return instantiator.newInstance(DefaultSelfResolvingDependency.class, notation); }
Example #14
Source File: DependencyClassPathNotationParser.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public SelfResolvingDependency parseType(DependencyFactory.ClassPathNotation notation) { Collection<File> classpath = classPathRegistry.getClassPath(notation.name()).getAsFiles(); FileCollection files = fileResolver.resolveFiles(classpath); return instantiator.newInstance(DefaultSelfResolvingDependency.class, files); }
Example #15
Source File: DefaultDependencySet.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void resolve(TaskDependencyResolveContext context) { for (SelfResolvingDependency dependency : DefaultDependencySet.this.withType(SelfResolvingDependency.class)) { context.add(dependency); } }
Example #16
Source File: DefaultSelfResolvingDependency.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public SelfResolvingDependency copy() { return new DefaultSelfResolvingDependency(source); }