If my understanding is correct bootArchives configuration in spring-boot gradle plugin is supposed to be used as a place where artifacts for publishing are placed. If this is correct, I would suggest marking it as non-resolvable. It would help in interactions with other gradle plugins which might manipulate all resolvable configurations and ignoring bootArchives requires special handling.