Skip to content

Commit

Permalink
Using debug logs for DependenciesClasspathProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
LikeTheSalad committed Jan 10, 2023
1 parent 0ba7bd7 commit 6fe8a5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ static DependenciesClasspathProvider getInstance(AndroidPluginVersion currentVer
Logger logger = Logging.getLogger(DependenciesClasspathProvider.class);
try {
if (isLowerThan73) {
logger.lifecycle("Using legacy classpath provider implementation");
logger.debug("Using legacy classpath provider implementation");
return (DependenciesClasspathProvider) Class.forName("net.bytebuddy.build.gradle.android.classpath.impl.LegacyDependenciesClasspathProvider").getDeclaredConstructor().newInstance();
} else {
logger.lifecycle("Using default classpath provider implementation");
logger.debug("Using default classpath provider implementation");
return (DependenciesClasspathProvider) Class.forName("net.bytebuddy.build.gradle.android.classpath.impl.DefaultDependenciesClasspathProvider").getDeclaredConstructor().newInstance();
}
} catch (InstantiationException | IllegalAccessException | InvocationTargetException |
Expand Down

0 comments on commit 6fe8a5c

Please sign in to comment.