Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

LICENSE.txt says gradlew/gradlew.bat are from Gradle v5.5, but they are from Gradle 6.9.1

Aperta Adatta ai principianti
#5,589 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
92/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Ambito
documentation

Direzione di ricerca

Inizia da LICENSE.txt e confronta la versione di Gradle indicata con gradlew, gradlew.bat e gradle/wrapper/gradle-wrapper.properties. Conferma quali script inclusi vengono documentati, aggiorna di conseguenza il testo obsoleto della licenza e verifica che la versione referenziata in LICENSE.txt corrisponda ai file del repository.

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

Descrizione

LICENSE.txt says:

This product bundles the files gradlew and gradlew.bat from Gradle v5.5
which are distributed under the Apache License, Version 2.0.
For details see ./gradlew and ./gradlew.bat.

The text was added in #4552 (2019), around the time #4567 updated the wrapper to Gradle 5.5. The scripts have been replaced since, and LICENSE.txt was not updated:

  • gradlew and gradlew.bat on master were last changed in f29981a2f "Bumping to gradle 6" (#5276), which set the wrapper to gradle-6.9.1-bin.zip. The scripts are the Gradle 6.9.x ones. Compared with the gradlew in Gradle's own repository at v6.9.1, the only difference is the project-specific -Dfile.encoding=UTF-8 in Gradle's DEFAULT_JVM_OPTS. They no longer match the Gradle 5.5 scripts (Gradle's v5.5.0 / this repo at d9de97d6e).
  • Since #5542 (2025), gradle/wrapper/gradle-wrapper.properties uses gradle-7.6.2-bin.zip, but the scripts were not regenerated, so they are still the 6.9.1 ones.

So the version in LICENSE.txt is wrong. Suggested fix, either:

  1. Change LICENSE.txt to say Gradle v6.9.1, matching the scripts as they are; or
  2. Regenerate the scripts with the current wrapper (./gradlew wrapper --gradle-version 7.6.2) and change LICENSE.txt to Gradle v7.6.2.

Found while reviewing Apache OpenServerless, which vendors these files and has the same stale text: apache/openserverless#269.

Lingua principale
Scala
Stelle
6.8k
Fork
1.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 apache/openwhisk

Tutte le issue di apache/openwhisk

Issue simili

Altre issue su Scala

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.