私は以下のように、私はコードを発見した新しいアーキテクチャコンポーネント、Googleのサンプルにして探していた:私は、彼らがdeps.*
で始まるすべての依存関係を書かれている理由を理解することはできませんよ"implementation deps.support.app_compat"の "deps"とは何ですか?
dependencies {
// Support libraries
implementation deps.support.app_compat
implementation deps.support.v4
implementation deps.support.design
implementation deps.support.cardview
// Architecture components
implementation deps.lifecycle.runtime
implementation deps.lifecycle.extensions
annotationProcessor deps.lifecycle.compiler
implementation deps.room.runtime
annotationProcessor deps.room.compiler
// Android Testing Support Library's runner and rules
androidTestImplementation deps.atsl.runner
androidTestImplementation deps.atsl.rules
androidTestImplementation deps.room.testing
androidTestImplementation deps.arch_core.testing
// Espresso UI Testing
androidTestImplementation deps.espresso.core
androidTestImplementation deps.espresso.contrib
androidTestImplementation deps.espresso.intents
// Resolve conflicts between main and test APK:
androidTestImplementation deps.support.annotations
androidTestImplementation deps.support.v4
androidTestImplementation deps.support.app_compat
androidTestImplementation deps.support.design
}
。誰も私がコードを理解するのを手伝ってもらえますか?前もって感謝します。 レポにはlinkがあります。
ルートディレクトリの 'versions.gradle'ファイルで 'deps'と宣言されています – Jovin