org.gradle.tooling.model.idea.IdeaSourceDirectory Java Examples

The following examples show how to use org.gradle.tooling.model.idea.IdeaSourceDirectory. 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: IdeaModelBuilder.java    From pushfish-android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
private Set<IdeaSourceDirectory> srcDirs(Set<File> sourceDirs, Set<File> generatedSourceDirs) {
    Set<IdeaSourceDirectory> out = new LinkedHashSet<IdeaSourceDirectory>();
    for (File s : sourceDirs) {
        DefaultIdeaSourceDirectory sourceDirectory = new DefaultIdeaSourceDirectory().setDirectory(s);
        if (generatedSourceDirs.contains(s)) {
            sourceDirectory.setGenerated(true);
        }
        out.add(sourceDirectory);
    }
    return out;
}
 
Example #2
Source File: IdeaModelBuilder.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
private Set<IdeaSourceDirectory> srcDirs(Set<File> sourceDirs) {
    Set<IdeaSourceDirectory> out = new LinkedHashSet<IdeaSourceDirectory>();
    for (File s : sourceDirs) {
        out.add(new DefaultIdeaSourceDirectory().setDirectory(s));
    }
    return out;
}
 
Example #3
Source File: IdeaModelBuilder.java    From pushfish-android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
private Set<IdeaSourceDirectory> srcDirs(Set<File> sourceDirs) {
    Set<IdeaSourceDirectory> out = new LinkedHashSet<IdeaSourceDirectory>();
    for (File s : sourceDirs) {
        out.add(new DefaultIdeaSourceDirectory().setDirectory(s));
    }
    return out;
}
 
Example #4
Source File: IdeaModelBuilder.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
private Set<IdeaSourceDirectory> srcDirs(Set<File> sourceDirs, Set<File> generatedSourceDirs) {
    Set<IdeaSourceDirectory> out = new LinkedHashSet<IdeaSourceDirectory>();
    for (File s : sourceDirs) {
        DefaultIdeaSourceDirectory sourceDirectory = new DefaultIdeaSourceDirectory().setDirectory(s);
        if (generatedSourceDirs.contains(s)) {
            sourceDirectory.setGenerated(true);
        }
        out.add(sourceDirectory);
    }
    return out;
}
 
Example #5
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setTestDirectories(Set<IdeaSourceDirectory> testDirectories) {
    this.testDirectories = testDirectories;
    return this;
}
 
Example #6
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getTestDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(testDirectories);
}
 
Example #7
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setSourceDirectories(Set<IdeaSourceDirectory> sourceDirectories) {
    this.sourceDirectories = sourceDirectories;
    return this;
}
 
Example #8
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getSourceDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(sourceDirectories);
}
 
Example #9
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setGeneratedTestDirectories(Set<IdeaSourceDirectory> generatedTestDirectories) {
    this.generatedTestDirectories = generatedTestDirectories;
    return this;
}
 
Example #10
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<? extends IdeaSourceDirectory> getGeneratedTestDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(generatedTestDirectories);
}
 
Example #11
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setTestDirectories(Set<IdeaSourceDirectory> testDirectories) {
    this.testDirectories = testDirectories;
    return this;
}
 
Example #12
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getTestDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(testDirectories);
}
 
Example #13
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setGeneratedSourceDirectories(Set<IdeaSourceDirectory> generatedSourceDirectories) {
    this.generatedSourceDirectories = generatedSourceDirectories;
    return this;
}
 
Example #14
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getGeneratedSourceDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(generatedSourceDirectories);
}
 
Example #15
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setSourceDirectories(Set<IdeaSourceDirectory> sourceDirectories) {
    this.sourceDirectories = sourceDirectories;
    return this;
}
 
Example #16
Source File: DefaultIdeaContentRoot.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getSourceDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(sourceDirectories);
}
 
Example #17
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setTestDirectories(Set<IdeaSourceDirectory> testDirectories) {
    this.testDirectories = testDirectories;
    return this;
}
 
Example #18
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getTestDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(testDirectories);
}
 
Example #19
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setSourceDirectories(Set<IdeaSourceDirectory> sourceDirectories) {
    this.sourceDirectories = sourceDirectories;
    return this;
}
 
Example #20
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getSourceDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(sourceDirectories);
}
 
Example #21
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setGeneratedTestDirectories(Set<IdeaSourceDirectory> generatedTestDirectories) {
    this.generatedTestDirectories = generatedTestDirectories;
    return this;
}
 
Example #22
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<? extends IdeaSourceDirectory> getGeneratedTestDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(generatedTestDirectories);
}
 
Example #23
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setTestDirectories(Set<IdeaSourceDirectory> testDirectories) {
    this.testDirectories = testDirectories;
    return this;
}
 
Example #24
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getTestDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(testDirectories);
}
 
Example #25
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setGeneratedSourceDirectories(Set<IdeaSourceDirectory> generatedSourceDirectories) {
    this.generatedSourceDirectories = generatedSourceDirectories;
    return this;
}
 
Example #26
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getGeneratedSourceDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(generatedSourceDirectories);
}
 
Example #27
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultIdeaContentRoot setSourceDirectories(Set<IdeaSourceDirectory> sourceDirectories) {
    this.sourceDirectories = sourceDirectories;
    return this;
}
 
Example #28
Source File: DefaultIdeaContentRoot.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DomainObjectSet<IdeaSourceDirectory> getSourceDirectories() {
    return new ImmutableDomainObjectSet<IdeaSourceDirectory>(sourceDirectories);
}