I learned that ./gradlew pAPTBR or ./gradlew publishAllPublicationsToBuildRepository publish maven repo into build/repo in a gradle project.
so it would be useful being able to add --repos local=build/repo,central or repos=local/buildrepo,cenral in jbang-catalog or jbang.properties making it possible to have jbang "just work" in a gradle repo without requiring pubishing into mavenLocal().
today it can only work if you provide a full absolute file:/// path.
I would think it should be fine to detect the argument to repos is a relative path and resolve it relatively to the file it is in as we do in other relative places. Might want to add a notion of ${sourceroot} or ${buildroot} to avoid too much relative path "traversal"
I learned that
./gradlew pAPTBRor./gradlew publishAllPublicationsToBuildRepositorypublish maven repo intobuild/repoin a gradle project.so it would be useful being able to add
--repos local=build/repo,centralorrepos=local/buildrepo,cenralinjbang-catalogorjbang.propertiesmaking it possible to have jbang "just work" in a gradle repo without requiring pubishing intomavenLocal().today it can only work if you provide a full absolute file:/// path.
I would think it should be fine to detect the argument to repos is a relative path and resolve it relatively to the file it is in as we do in other relative places. Might want to add a notion of ${sourceroot} or ${buildroot} to avoid too much relative path "traversal"