Add it in your root build.gradle at the end of repositories: dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() maven { url 'https://jitpack.io' } } }
![JitPack | Publish JVM and Android libraries](https://cdn-ak-scissors.b.st-hatena.com/image/square/735eb921b5a0ad845c4c452ff73300f9b748f56e/height=288;version=1;width=512/https%3A%2F%2Fjitpack.io%2Fw%2Fimg%2Fjitpack.png)
Mavenはプロジェクトのバージョンを「x.x.x-SNAPSHOT」のように管理するのが標準のようだ。 「SNAPSHOT」は開発中を示す。 Mavenで管理しているJyazoのプロジェクトのソースをGitHubで管理しようとすると、リリース時に次のようなオペレーションになってしまう。 pom.xml内に書かれているプロジェクトのバージョンから「-SNAPSHOT」を削除 git commit -aを実行 git tagを実行 git push origin masterを実行 pom.xml内のプロジェクトのバージョンを挙げて「-SNAPSHOT」を追加 git commit -aを実行 git push origin masterを実行
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く