Gradle platform BOM set version selectively

I create Bom In this BOM constraints many dependency (for example io.github.microutils:kotlin-logging, ch.qos.logback:logback-classic) When i add this BOM to my application and remove version (kotlin-logging, logback-classic) i have error

Could not find io.github.microutils:kotlin-logging:.

But for dependency logback-classic gradle resolve version.

How to reproduce:

  1. clone exemple project
  2. execute in module bom task publishToMavenLocal
  3. remove version kotlin-logging
  4. try build module application

how should i declare dependency not to specify version ?



from Recent Questions - Stack Overflow https://ift.tt/3q5C53E
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation