Can sbt be used to access a none-scala github repo to read into a scala project? -


i'm dealing 2 repos: - github repo contains bunch of text files. - scala project read text files.

i use sbt download contents of github repo build dependency.

i wouldn't mind if sbt supplied either path (into ivy repo?) project use or build them projects available resources - or other way work. i'm aiming automatic; there ways manually.

if talk bunch of text files *.property example used dependency project (do want download them every time?) may use sbt.io.download(url: url, to: file). create task , add project definition compile <<= (compile in compile) dependson mydownloadtask after may process them regular local files ;-).

imho understand may add custom logic caching or page parsing or rest request github project definition. @ last may create own sbt plugin - there few video tutorials "how create sbt plugin in 5 minutes" on youtube.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -