Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/warnyul/androidmavenbomtest
Sample app for test Gradle's impoved POM support
https://github.com/warnyul/androidmavenbomtest
Last synced: about 1 month ago
JSON representation
Sample app for test Gradle's impoved POM support
- Host: GitHub
- URL: https://github.com/warnyul/androidmavenbomtest
- Owner: warnyul
- Created: 2018-04-02T14:12:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T10:04:40.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T15:51:42.998Z (3 months ago)
- Language: Java
- Size: 52.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Android Maven BOM test
In this repository, I would like to try the Gradle's [improved pom support](https://docs.gradle.org/4.6/release-notes.html#bom-import).
I want to resolve version of `gson` from Spring Boot BOM
```groovy
dependencies {
// import a BOM
implementation 'org.springframework.boot:spring-boot-dependencies:1.5.8.RELEASE'
// define dependencies without versions
implementation 'com.google.code.gson:gson'
}
```Run this command to check `gson`'s version:
```
./gradlew :android-maven-bom-test:dependencies --configuration releaseCompileClasspath
```Version of `gson` is provided by Spring Boot BOM:
```
releaseCompileClasspath - Resolved configuration for compilation for variant: release
+--- org.springframework.boot:spring-boot-dependencies:1.5.8.RELEASE
| \--- com.google.code.gson:gson:2.8.2
\--- com.google.code.gson:gson -> 2.8.2
```