Browse Source

Fail if module is referring to a non-existent file path

pull/1077/head
Shagen Ogandzhanian 3 years ago
parent
commit
eac1c155e3
  1. 6
      web/settings.gradle.kts

6
web/settings.gradle.kts

@ -26,7 +26,11 @@ pluginManagement {
fun module(name: String, path: String) {
include(name)
project(name).projectDir = file(path)
val projectPath = file(path)
if (!projectPath.exists()) {
throw AssertionError("file $path does not exist")
}
project(name).projectDir = projectPath
}

Loading…
Cancel
Save