kotlin-stdlib version conflicts downstream

Aperta
#274 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
36/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java, kotlin, spring-boot
Ambito
backend, databases

Direzione di ricerca

Start by inspecting the top-level pom and the graphql-sender dependency declarations. Reproduce the reported resolution with the Spring Boot 2.1.1 dependency management example and check the resolved versions of kotlin-stdlib and kotlin-stdlib-common. Done means both resolve to compatible versions and the runtime NoSuchMethodError is avoided.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Including some dependencies downstream cause a 1.2.X version of kotlin-stdlib and a 1.3.X version of kotlin-stdlib-common to be pulled in which causes version clash issues at runtime (NoSuchMethodError's).

Ex.

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-dependencies</artifactId>
            <version>2.1.1.RELEASE</version>
            <scope>import</scope>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>com.expediagroup.streamplatform</groupId>
            <artifactId>stream-registry-state-graphql-sender</artifactId>
            <version>0.16.0</version>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependencies>
    <dependency>
        <groupId>com.expediagroup.streamplatform</groupId>
        <artifactId>stream-registry-state-graphql-sender</artifactId>
    </dependency>
</dependencies>

This resolves to:

  • kotlin-stdlib : 1.2.71
  • kotlin-stdlib-common : 1.3.72

Proposed solution is to solidify kotlin-stdlib and kotlin-stdlib-common dependency versions in graphql-sender. Can also take this opportunity to update the kotlin-stdlib dependency in the top level pom.

Lingua principale
Java
Stelle
124
Fork
56
Merge medio
1h 57m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ExpediaGroup/stream-registry

Tutte le issue di ExpediaGroup/stream-registry

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.