Photo by Aleksi Tappura on UnsplashGradle 7.0から導入された Version catalog を使ったライブラリ管理方法についてまとめておきます。 また、Gradle 7.2ではいくつか改善がされてるので、今回はGradle 7.2を使っていきます。 Gradleで使用するライブラリの依存関係を定義するときに、これまでもいろいろな方法がありました。例えば、extra propertiesを定義したり、buildSrcで定義したり、など。 これらの方法とは別に Version catalog という新しい方法を使うことができるようになりました。 Version catalogの定義Version Catalogを使ってどのようにライブラリを管理するかを見ていきます。例として、androidxのviewmodelとlivedataを使う場合です。 s
The goal of this plugin was to eventually no longer be needed, being superseded by built-in features. This has become a reality with Gradle 5.2 and IntelliJ IDEA 2019.1. tl;dr: this plugin is obsolete, don't use it. If you're using Eclipse though, continue reading. It originally did a few things to make it easier/safer to use Java annotation processors in a Gradle build. Those things are now avail
Even though I was supposed to write a series of blog posts about micro-infra-spring here at Too Much Coding blog, today I'll write about how we've managed to decrease our biggest project's build time from 90 to 8 minutes! At one of the companies that I've been working we've faced a big problem related to pull request build times. We have one monolithic application that we are in progress of slicin
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く