rootProject.name = '拨号助手' include ':app' // Optional source debugging: -PiconloaderSourceDir=/path/to/IconLoader_ttstd. // Normal and CI builds use the published Maven artifact. def iconloaderSourcePath = providers.gradleProperty('iconloaderSourceDir').orNull if (iconloaderSourcePath != null) { def iconloaderSource = file(iconloaderSourcePath) if (!new File(iconloaderSource, 'settings.gradle').isFile()) { throw new GradleException("iconloaderSourceDir must point to the IconLoader_ttstd checkout") } includeBuild(iconloaderSource) { dependencySubstitution { substitute module('com.ttstd:iconloader') using project(':iconloader') } } }