technically a root project can publish. so use allprojects.