Java Code Examples for org.gradle.api.artifacts.Configuration#getDescription()

The following examples show how to use org.gradle.api.artifacts.Configuration#getDescription() . 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: DefaultConfigurationsToModuleDescriptorConverter.java    From pushfish-android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
public org.apache.ivy.core.module.descriptor.Configuration getIvyConfiguration(Configuration configuration) {
    String[] superConfigs = Configurations.getNames(configuration.getExtendsFrom(), false).toArray(new String[configuration.getExtendsFrom().size()]);
    Arrays.sort(superConfigs);
    return new org.apache.ivy.core.module.descriptor.Configuration(
            configuration.getName(),
            configuration.isVisible() ? org.apache.ivy.core.module.descriptor.Configuration.Visibility.PUBLIC : org.apache.ivy.core.module.descriptor.Configuration.Visibility.PRIVATE,
            configuration.getDescription(),
            superConfigs,
            configuration.isTransitive(),
            null);
}
 
Example 2
Source File: DefaultConfigurationsToModuleDescriptorConverter.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
public org.apache.ivy.core.module.descriptor.Configuration getIvyConfiguration(Configuration configuration) {
    String[] superConfigs = Configurations.getNames(configuration.getExtendsFrom(), false).toArray(new String[configuration.getExtendsFrom().size()]);
    Arrays.sort(superConfigs);
    return new org.apache.ivy.core.module.descriptor.Configuration(
            configuration.getName(),
            configuration.isVisible() ? org.apache.ivy.core.module.descriptor.Configuration.Visibility.PUBLIC : org.apache.ivy.core.module.descriptor.Configuration.Visibility.PRIVATE,
            configuration.getDescription(),
            superConfigs,
            configuration.isTransitive(),
            null);
}
 
Example 3
Source File: AsciiDependencyReportRenderer.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
private String getDescription(Configuration configuration) {
    return GUtil.isTrue(configuration.getDescription()) ? " - " + configuration.getDescription() : "";
}
 
Example 4
Source File: AsciiDependencyReportRenderer.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
private String getDescription(Configuration configuration) {
    return GUtil.isTrue(configuration.getDescription()) ? " - " + configuration.getDescription() : "";
}
 
Example 5
Source File: AsciiDependencyReportRenderer.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
private String getDescription(Configuration configuration) {
    return GUtil.isTrue(configuration.getDescription()) ? " - " + configuration.getDescription() : "";
}
 
Example 6
Source File: AsciiDependencyReportRenderer.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
private String getDescription(Configuration configuration) {
    return GUtil.isTrue(configuration.getDescription()) ? " - " + configuration.getDescription() : "";
}