gradle-offline-dependencies-plugin
gradle-offline-dependencies-plugin copied to clipboard
Add support for io.spring.dependency-management
When i use io.spring.dependency-management
plugin to manage my dependencies, updateOfflineRepository
will fail to resolve dependency versions, or spring-platform.
Steps to reproduce:
- apply plugin: 'io.spring.dependency-management'
- add mavenBom 'io.spring.platform:platform-bom:Brussels-SR6' to
imports
independencyManagement
Plugin 'org.springframework.boot': registration of listener on 'Gradle.buildFinished' is unsupported
OR
> Could not resolve all dependencies for configuration ':detachedConfiguration1'.
> Could not find org.springframework.boot:spring-boot-dependencies:2.3.9.RELEASE.
Searched in the following locations:
- file:/root/.m2/repository/org/springframework/boot/spring-boot-dependencies/2.3.9.RELEASE/spring-boot-dependencies-2.3.9.RELEASE.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.