Esempio n. 1
0
 /**
  * This method was used by consumers 1.0-rc-1 through to 1.1. Later consumers use {@link
  * #configure(org.gradle.tooling.internal.protocol.ConnectionParameters)} instead.
  */
 public void configureLogging(final boolean verboseLogging) {
   ProviderConnectionParameters providerConnectionParameters =
       adapter.adapt(
           ProviderConnectionParameters.class,
           new VerboseLoggingOnlyConnectionParameters(verboseLogging));
   connection.configure(providerConnectionParameters);
 }
Esempio n. 2
0
 /** This is used by consumers 1.2-rc-1 and later. */
 public void configure(ConnectionParameters parameters) {
   ProviderConnectionParameters providerConnectionParameters =
       adapter.adapt(ProviderConnectionParameters.class, parameters);
   connection.configure(providerConnectionParameters);
 }