You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Added support for script dependencies (#1641)
* chore: minor cleanup of dependencies code
* refactor: not passing Project around where we have BuildContext
* refactor: minor simplification in dependency resolvers
* feat: Added support for subprojects
* fix: Improved JitPack URL regexes
They were too lenient and matched invalid URLs
* fix: GAV patterns are now more strict
They were too lenient and would match too many invalid coordinates.
* chore: display what jar we're building
* fix: no longer rebuilding source dependencies
Source dependencies would always be rebuilt whenever the parent script
was built. This was because they were really built a part of (meaning
inside of) the parent's build folder, not as an independent artifact.
This is now no longer the case and building a script as part of a
dependency or standalone will now result in the same artifact.
* fix: self-referencing dependencies now show proper error message
Copy file name to clipboardExpand all lines: itests/dependencies.feature
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,6 @@ Feature: dependency fetching
3
3
Scenario: fetch dependencies
4
4
* command('jbang --verbose version')
5
5
When command('jbang classpath_log.java', { JBANG_REPO: scratch + "/newrepo"})
6
-
Then match err == '[jbang] Resolving dependencies...\n[jbang] log4j:log4j:1.2.17\n[jbang] Dependencies resolved\n[jbang] Building jar...\n'
6
+
Then match err == '[jbang] Resolving dependencies...\n[jbang] log4j:log4j:1.2.17\n[jbang] Dependencies resolved\n[jbang] Building jar for classpath_log.java...\n'
0 commit comments