diff --git a/build.sc b/build.sc index 35f6533..d40d8ed 100644 --- a/build.sc +++ b/build.sc @@ -73,11 +73,11 @@ object itest extends MillIntegrationTestModule { override def testInvocations = Seq( PathRef(testBase / "do-not-fail-on-conflicts") -> successMissinglinkCheck, - PathRef(testBase / "exclude-problematic-dependency") -> successMissinglinkCheck, + PathRef(testBase / "exclude-problematic-dependency") -> errorMissinglinkCheck, PathRef(testBase / "has-problematic-dependency") -> errorMissinglinkCheck, PathRef(testBase / "ignore-destination-package") -> successMissinglinkCheck, PathRef(testBase / "ignore-source-package") -> successMissinglinkCheck, - PathRef(testBase / "ignores-unused-dependency") -> errorMissinglinkCheck, + PathRef(testBase / "ignores-unused-dependency") -> successMissinglinkCheck, PathRef(testBase / "scans-dependencies") -> errorMissinglinkCheck, PathRef(testBase / "target-destination-package") -> successMissinglinkCheck, PathRef(testBase / "target-source-package") -> errorMissinglinkCheck, diff --git a/mill-missinglink/src/io/github/hoangmaihuy/missinglink/MissinglinkCheckModule.scala b/mill-missinglink/src/io/github/hoangmaihuy/missinglink/MissinglinkCheckModule.scala index 0043cd4..ac54b04 100644 --- a/mill-missinglink/src/io/github/hoangmaihuy/missinglink/MissinglinkCheckModule.scala +++ b/mill-missinglink/src/io/github/hoangmaihuy/missinglink/MissinglinkCheckModule.scala @@ -148,14 +148,14 @@ trait MissinglinkCheckModule extends JavaModule { ) } - println("Checking for conflicts starting from " + projectArtifact.name().name()) - println("Artifacts included in the project: ") + log.debug("Checking for conflicts starting from " + projectArtifact.name().name()) + log.debug("Artifacts included in the project: ") for (artifact <- runtimeArtifactsAfterExclusions) { - println(" " + artifact.name().name()) + log.debug(" " + artifact.name().name()) } - println("All artifacts: ") + log.debug("All artifacts: ") for (artifact <- allArtifacts) { - println(" " + artifact.name().name()) + log.debug(" " + artifact.name().name()) } val conflictChecker = new ConflictChecker