Skip to content

Commit 9cbe69b

Browse files
Move POM file does not exist msg to info level.
This was surfaced by the test app being introduced in google#380
1 parent 5744ae5 commit 9cbe69b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • oss-licenses-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin

oss-licenses-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin/LicensesTask.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ import java.util.zip.ZipFile
3737

3838
/**
3939
* Task to extract and bundle license information from application dependencies.
40-
*
41-
* This task is compatible with Gradle's Configuration Cache. All necessary file
42-
* mappings (POMs and Library artifacts) are provided as lazy input properties,
40+
*
41+
* This task is compatible with Gradle's Configuration Cache. All necessary file
42+
* mappings (POMs and Library artifacts) are provided as lazy input properties,
4343
* making the task a pure function of its inputs.
4444
*/
4545
@CacheableTask
@@ -250,7 +250,7 @@ abstract class LicensesTask extends DefaultTask {
250250

251251
protected void addLicensesFromPom(File pomFile, String group, String name) {
252252
if (pomFile == null || !pomFile.exists()) {
253-
logger.error("POM file $pomFile for $group:$name does not exist.")
253+
logger.info("POM file $pomFile for $group:$name does not exist. This is expected for some libraries from androidx and org.jetbrains")
254254
return
255255
}
256256

0 commit comments

Comments
 (0)