Skip to content

build: fetch BATS test libs via HTTP instead of npm/node#4587

Open
dsmiley wants to merge 1 commit into
apache:mainfrom
dsmiley:build_packaging_no_node
Open

build: fetch BATS test libs via HTTP instead of npm/node#4587
dsmiley wants to merge 1 commit into
apache:mainfrom
dsmiley:build_packaging_no_node

Conversation

@dsmiley

@dsmiley dsmiley commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

The packaging module pulled in the node-gradle plugin solely to run npm install <github-url>#<tag> for bats-core/bats-assert/bats-file (npm was just being used as a git-URL fetcher here, nothing JS-related). Replace downloadBats with a plain Gradle task that fetches GitHub tag archives over HTTP and extracts them with tarTree, removing node/npm from :solr:packaging entirely and simplifying the proxy story to standard Gradle systemProp.http(s).proxyHost/Port config.

Also pin bats-support (previously an undeclared transitive dependency pulled in via bats-assert's package.json) explicitly in the version catalog. Remove undercounch.download plugin (unused).

The packaging module pulled in the node-gradle plugin solely to run
`npm install <github-url>#<tag>` for bats-core/bats-assert/bats-file
(npm was just being used as a git-URL fetcher here, nothing JS-related).
Replace downloadBats with a plain Gradle task that fetches GitHub tag
archives over HTTP and extracts them with tarTree, removing node/npm
from :solr:packaging entirely and simplifying the proxy story to
standard Gradle systemProp.http(s).proxyHost/Port config.

Also pin bats-support (previously an undeclared transitive dependency
pulled in via bats-assert's package.json) explicitly in the version
catalog.  Remove undercounch.download plugin (unused).
@dsmiley dsmiley requested a review from epugh July 2, 2026 05:32
@github-actions github-actions Bot added dependencies Dependency upgrades tool:build labels Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant