Right now, I believe it's more important to focus on retooling for 2019 and beyond, rather than be too concerned about salary caps for the current year.
BTW -- someone on the MLB Network suggested that Harper might be a good addition for the Yankees now that Judge is out with a broken wrist. Great opportunity?