Fix incorrect kapt classpath error message.
The correct value is `kapt.include.compile.classpath` ^KT-47002 Fixed
This commit is contained in:
committed by
Yahor Berdnikau
parent
684273783f
commit
7f5eb3f5ff
+1
-1
@@ -621,7 +621,7 @@ class Kapt3GradleSubplugin @Inject internal constructor(private val registry: To
|
||||
if (includeCompileClasspath && project.classLoadersCacheSize() > 0) {
|
||||
project.logger.warn(
|
||||
"ClassLoaders cache can't be enabled together with AP discovery in compilation classpath."
|
||||
+ "\nSet 'kapt.includeCompileClasspath = false' to disable discovery"
|
||||
+ "\nSet 'kapt.include.compile.classpath=false' to disable discovery"
|
||||
)
|
||||
} else {
|
||||
it.classLoadersCacheSize = project.classLoadersCacheSize()
|
||||
|
||||
+2
-2
@@ -226,7 +226,7 @@ abstract class KaptTask @Inject constructor(
|
||||
if (logger.isInfoEnabled) {
|
||||
logger.warn(
|
||||
"Annotation processors discovery from compile classpath is deprecated."
|
||||
+ "\nSet 'kapt.includeCompileClasspath = false' to disable discovery."
|
||||
+ "\nSet 'kapt.include.compile.classpath=false' to disable discovery."
|
||||
+ "\nThe following files, containing annotation processors, are not present in KAPT classpath:\n"
|
||||
+ processorsAbsentInKaptClasspath.joinToString("\n") { " '$it'" }
|
||||
+ "\nAdd corresponding dependencies to any of the following configurations:\n"
|
||||
@@ -235,7 +235,7 @@ abstract class KaptTask @Inject constructor(
|
||||
} else {
|
||||
logger.warn(
|
||||
"Annotation processors discovery from compile classpath is deprecated."
|
||||
+ "\nSet 'kapt.includeCompileClasspath = false' to disable discovery."
|
||||
+ "\nSet 'kapt.include.compile.classpath=false' to disable discovery."
|
||||
+ "\nRun the build with '--info' for more details."
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user