Search in sources :

Example 1 with NativeBinaryResolveResult

use of org.gradle.nativeplatform.internal.resolve.NativeBinaryResolveResult in project gradle by gradle.

the class AbstractNativeBinarySpec method resolve.

private NativeBinaryResolveResult resolve(Iterable<? extends DependentSourceSet> sourceSets) {
    Set<? super Object> allLibs = new LinkedHashSet<Object>(libs);
    for (DependentSourceSet dependentSourceSet : sourceSets) {
        allLibs.addAll(dependentSourceSet.getLibs());
    }
    NativeBinaryResolveResult resolution = new NativeBinaryResolveResult(this, allLibs);
    resolver.resolve(resolution);
    return resolution;
}
Also used : DependentSourceSet(org.gradle.language.nativeplatform.DependentSourceSet) NativeBinaryResolveResult(org.gradle.nativeplatform.internal.resolve.NativeBinaryResolveResult)

Aggregations

DependentSourceSet (org.gradle.language.nativeplatform.DependentSourceSet)1 NativeBinaryResolveResult (org.gradle.nativeplatform.internal.resolve.NativeBinaryResolveResult)1