pkl icon indicating copy to clipboard operation
pkl copied to clipboard

Add external reader support in pkl-gradle

Open HT154 opened this issue 7 months ago • 2 comments

HT154 avatar May 11 '25 02:05 HT154

@HT154 can we add some test coverage for this?

I think this would involve moving TestExternalReaderProcess to pkl-commons-test, and adding a corresponding test to org.pkl.gradle.EvaluatorsTest.

Hint: the Groovy syntax for maps is [key: value]. External readers would look something like:

externalModuleReaders = ["foo": new org.pkl.gradle.ExternalReader("bar")]

bioball avatar May 12 '25 20:05 bioball

It looks like this hangs right now for reasons I'm not understanding. It's intermittent on *nix systems and seemingly consistent on Windows (but I don't have a system to test that locally). Will likely need a hand debugging this.

HT154 avatar Aug 20 '25 21:08 HT154