Skip to content

Commit

Permalink
Log deprecation warning instead of printing (#4561)
Browse files Browse the repository at this point in the history
* Log deprecation warning instead of printing

* Fix access to logger inside afterEvaluate

Co-authored-by: BoD <BoD@JRAF.org>
  • Loading branch information
StefanChmielewski and BoD committed Dec 9, 2022
1 parent e000d06 commit ae87b5b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -136,7 +136,7 @@ abstract class DefaultApolloExtension(
} else {
"packageNamesFromFilePaths()"
}
println("""
it.logger.warn("""
Apollo: using the default service is deprecated and will be removed in a future version. Please define your service explicitly:
apollo {
Expand Down

0 comments on commit ae87b5b

Please sign in to comment.