Package io.micronaut.gradle
Class AttributeUtils
java.lang.Object
io.micronaut.gradle.AttributeUtils
Utilities to deal with Gradle configuration attributes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyAttributes
(org.gradle.api.provider.ProviderFactory providers, org.gradle.api.artifacts.Configuration from, org.gradle.api.artifacts.Configuration to) Copies attributes from a source configuration to a target configuration
-
Method Details
-
copyAttributes
public static void copyAttributes(org.gradle.api.provider.ProviderFactory providers, org.gradle.api.artifacts.Configuration from, org.gradle.api.artifacts.Configuration to) Copies attributes from a source configuration to a target configuration- Parameters:
from
- the source configurationto
- the target configuration
-