Add transitive=false to build configuration.