Dependency has no version
See original GitHub issueContext: buildSrcVersions is a Gradle plugin that makes it easier to manage your dependencies inside your IDE. It extracts all your dependencies and search for available dependencies updates.
Some plugins like io.vertx.vertx-plugin
pin a dependency version. In that case, buildSrcVersions generate the following code
// sample-groovy/build.gradle
plugins {
id "io.vertx.vertx-plugin" version "0.3.1"
id 'de.fayard.buildSrcVersions' version '0.4.0'
}
dependencies {
implementation "io.vertx:vertx-web"
}
// Libs.kt
object Libs {
const val vertx_core: String = "io.vertx:vertx-core"
}
// Versions.kt
object Versions {
const val vertx_core: String = "none" // No version. See buildSrcVersions#23
}
What follows is the problem that appears in version 0.3.2 and before in that case
Hello,
I have to say that this plugin is really cool and helpful! 😃
However, I have found a few issues related to reporting of release versions, and I couldn’t find anyone else posting about it, so I am adding this new issue.
I have a simple Spring Boot, reactive, restful web service, that I created using Spring Initializr a few weeks ago. I have properly configured my project and the Gradle-Kotin-Dsl-Libs (“GKDL”), and it generates the Libs and Versions files, as expected. However, the version information for the following items is incorrect, since it does not match the versions that I started with, nor what Spring Initializr generates. I’ve noticed that these issues appear in the first and the last two entries in the Libs file that is generated. Has anyone noticed this issue? If I can provide any more information, please let me know…
Thank you for your time,
Mike
-
org_springframework_cloud: Versions => “2.1.0.RELEASE”; Should be “Greenwich.BUILD-SNAPSHOT”;
-
spring_boot_starter_webflux: Versions => “none”; Should be “2.1.0.RELEASE”;
-
jackson_module_kotlin: Versions => “none”; Should be “2.9.7”;
VERSION INFORMATION IntelliJ: 2018.2.6 Java: 11.0.1 Kotlin: 1.3.10 Kotlin DSL: 1.0.4 Gradle: 5.0 Shadow: 4.0.2 Gradle-Kotin-Dsl-Libs: 0.2.6 Spring Boot: 2.1.0.RELEASE Spring Cloud: 2.1.0.RELEASE, but should be Greenwich.BUILD-SNAPSHOT
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
Hello, this is fixed and will be available once version 0.4.0 is released
I believe this is fixed