'Which section of gradle dependencies report should I check to know my dependencies?
I create a simple sample Android project where the dependencies as below
dependencies {
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
Here you can see I have implementation, but there's no runtimeOnly or compileOnly.
When I run ./gradlew app:dependences, the generated report with many sections. Which section should I look to know my dependencies (assuming I'm interested in release buildType only)?
Is it
- releaseCompileClasspath,
- releaseImplementationDependenciesMetadata or
- releaseRuntimeClasspath
Or all of them, as each of them provides a different meaning?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
