From 9c2e87d68b5924b4d767f264f26279afeec3ee5f Mon Sep 17 00:00:00 2001 From: Adam Kaczmarek Date: Tue, 14 Jan 2025 10:24:09 +0100 Subject: [PATCH] Scala-cli dependencies. --- .../main/scala/sttp/client4/examples/DowloadFileWitOsLib.scala | 3 +++ .../main/scala/sttp/client4/examples/UploadFileWithOsLib.scala | 3 +++ 2 files changed, 6 insertions(+) diff --git a/examples/src/main/scala/sttp/client4/examples/DowloadFileWitOsLib.scala b/examples/src/main/scala/sttp/client4/examples/DowloadFileWitOsLib.scala index 4fc276438..c8c576e05 100644 --- a/examples/src/main/scala/sttp/client4/examples/DowloadFileWitOsLib.scala +++ b/examples/src/main/scala/sttp/client4/examples/DowloadFileWitOsLib.scala @@ -1,3 +1,6 @@ +// {cat=Other; effects=Direct; backend=HttpClient}: Download file + +//> using dep com.lihaoyi::os-lib:0.11.3 package sttp.client4.examples import sttp.client4.* diff --git a/examples/src/main/scala/sttp/client4/examples/UploadFileWithOsLib.scala b/examples/src/main/scala/sttp/client4/examples/UploadFileWithOsLib.scala index 41fa02b6e..252bce20e 100644 --- a/examples/src/main/scala/sttp/client4/examples/UploadFileWithOsLib.scala +++ b/examples/src/main/scala/sttp/client4/examples/UploadFileWithOsLib.scala @@ -1,3 +1,6 @@ +// {cat=Other; effects=Direct; backend=HttpClient}: Download file + +//> using dep com.lihaoyi::os-lib:0.11.3 package sttp.client4.examples import sttp.client4.*