Gradle Multi Module Project: Apply module dependency to all subprojects except for itself
问题 My application is a Gradle Multi Module Project, consisting of multiple services with one service-common module. I´ve pulled all dependencies that all modules have in common out into the root build.gradle, and I also want to include the service-common module in all subprojects, which in theory works, but I´m getting a circular dependency issue because it is included in itself. apply plugin: 'java' group = 'com.myapplication' ext { set('springCloudVersion', "2.2.0.RELEASE") set(