Aaron Todd
08/11/2023, 12:37 PMsourceControl {
gitRepository(java.net.URI("<https://github.com/><my-repo-path>.git")) {
producesModule("com.example:module1")
producesModule("com.example:module2")
}
}
It seems like each use of a module requires declaring a version constraint:
buildscript {
classpath("com.example:module1") {
version {
branch = "my-branch"
}
}
classpath("com.example:module2") {
version {
branch = "my-branch"
}
}
}
Is there an easier way to get the same version for all of the modules produced by a source dependency?