2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

sbtでGitリポジトリ上のライブラリを使う

Posted at

Gitリポジトリで公開されているが、JARが提供されてないライブラリを使いたい。

という記事があるが、最近のsbtではビルドできなかった。
元の例を使うと、以下で動いた。

lazy val root = project.in(file(".")).dependsOn(githubRepo)

lazy val githubRepo = RootProject(uri("git://github.com/user/repo-name.git#commit"))

別解 GitHubのリポジトリに限ればJitPack

JARで欲しい場合などJitPackを使う手もある。

参考文献

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?