We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcda4f9 commit 87d4c56Copy full SHA for 87d4c56
settings.gradle.kts
@@ -1,7 +1,14 @@
1
rootProject.name = "onebusaway-sdk-java-root"
2
3
-include("onebusaway-sdk-java")
4
-include("onebusaway-sdk-java-client-okhttp")
5
-include("onebusaway-sdk-java-core")
6
-include("onebusaway-sdk-java-proguard-test")
7
-include("onebusaway-sdk-java-example")
+val projectNames = rootDir.listFiles()
+ ?.asSequence()
+ .orEmpty()
+ .filter { file ->
+ file.isDirectory &&
8
+ file.name.startsWith("onebusaway-sdk-java") &&
9
+ file.listFiles()?.asSequence().orEmpty().any { it.name == "build.gradle.kts" }
10
+ }
11
+ .map { it.name }
12
+ .toList()
13
+println("projects: $projectNames")
14
+projectNames.forEach { include(it) }
0 commit comments