[
https://issues.apache.org/jira/browse/KAFKA-19591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dejan Stojadinović updated KAFKA-19591:
---------------------------------------
Description:
{panel:bgColor=#ffffce}
*_Prologue: Kafka developers can't commit jar's into Gir repo (that includes
Gradle wrapper jar_*
Related links:
*
https://issues.apache.org/jira/browse/KAFKA-2098?focusedCommentId=14481979&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14481979
* https://issues.apache.org/jira/browse/KAFKA-1490
* [https://stackoverflow.com/questions/39856714/gradle-wrapper-without-the-jar]
*
[https://discuss.gradle.org/t/how-hand-compile-gradle-wrapper-jar-when-gradle-cannot-be-installed-and-cannot-check-jar-files-into-git/4813]{panel}
*(i) Intro:* Groovy file _*unixStartScript.txt*_ (that servers as a template
for a {_}*gradlew*{_}) path/module was changed in Gradle version 8.8.0
_*(x) Problem description:*_
# at the moment Kafka trunk branch is using Gradle version
[8.14.1|https://github.com/apache/kafka/blob/8deb6c6911616f887ebb2678f3f12ee1da09a618/gradle/wrapper/gradle-wrapper.properties]
but thing is that _*gradlew*_ is referencing Gradle 8.7.0 template file
_*unixStartScript.txt*_
# it means that _*gradlew*_ is missing all recent changes for a template file
_*unixStartScript.txt*_
*_Related GitHub Gradle links for unixStartScript.txt:_*
* Gradle <=8.7.0 version
** file path:
[https://github.com/gradle/gradle/blob/v8.7.0/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
** Git history for versions <=8.7.0:
[https://github.com/gradle/gradle/commits/v8.7.0/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
* Gradle >= 8.8.0 version:
** file path:
[https://github.com/gradle/gradle/blob/v8.8.0/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
** Git history for versions [8.8.0, 8.14.1]:
[https://github.com/gradle/gradle/commits/v8.14.1/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
!screenshot-1.png!
*Other related links:*
* [https://github.com/gradle/gradle/compare/v8.7.0...v8.8.0]
*
[https://github.com/gradle/gradle/commit/c5ec05d90780454c7c20c66533b804d80d67639f]
Moving code out of plugins project to more appropriate sub-projects
*
[https://github.com/gradle/gradle/commit/9041afac3b20f4878b5b0d59c1fb6b3b0982b53f]
Refactor start scripts to support executable JAR
*_-Loosely- related Gradle Github issue:_*
[https://github.com/gradle/gradle/issues/30101] Use permalink in the generated
gradlew file
was:
{panel:bgColor=#ffffce}
*_Prologue: Kafka developers can't commit jar's into Gir repo (that includes
Gradle wrapper jar_*
Related links:
*
https://issues.apache.org/jira/browse/KAFKA-2098?focusedCommentId=14481979&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14481979
* https://issues.apache.org/jira/browse/KAFKA-1490
* [https://stackoverflow.com/questions/39856714/gradle-wrapper-without-the-jar]
*
[https://discuss.gradle.org/t/how-hand-compile-gradle-wrapper-jar-when-gradle-cannot-be-installed-and-cannot-check-jar-files-into-git/4813]{panel}
*(i) Intro:* Groovy file _*unixStartScript.txt*_ (that servers as a template
for a {_}*gradlew*{_}) path/module was changed in Gradle version 8.8.0
_*(x) Problem description:*_
# at the moment Kafka trunk branch is using Gradle version
[8.14.1|https://github.com/apache/kafka/blob/8deb6c6911616f887ebb2678f3f12ee1da09a618/gradle/wrapper/gradle-wrapper.properties]
but thing is that _*gradlew*_ is referencing Gradle 8.7.0 template file
_*unixStartScript.txt*_
# it means that _*gradlew*_ is missing all recent changes for a template file
_*unixStartScript.txt*_
*_Related GitHub Gradle links for unixStartScript.txt:_*
* Gradle <=8.7.0 version
** file path:
[https://github.com/gradle/gradle/blob/v8.7.0/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
** Git history for versions <=8.7.0:
[https://github.com/gradle/gradle/commits/v8.7.0/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
* Gradle >= 8.8.0 version:
** file path:
[https://github.com/gradle/gradle/blob/v9.0.0/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
** Git history for versions [8.8.0, 8.14.1]:
[https://github.com/gradle/gradle/commits/v8.14.1/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
!screenshot-1.png!
*Other related links:*
* [https://github.com/gradle/gradle/compare/v8.7.0...v8.8.0]
*
[https://github.com/gradle/gradle/commit/c5ec05d90780454c7c20c66533b804d80d67639f]
Moving code out of plugins project to more appropriate sub-projects
*
[https://github.com/gradle/gradle/commit/9041afac3b20f4878b5b0d59c1fb6b3b0982b53f]
Refactor start scripts to support executable JAR
*_-Loosely- related Gradle Github issue:_*
[https://github.com/gradle/gradle/issues/30101] Use permalink in the generated
gradlew file
> Fix `gradlew` content: add missing parts (old Groovy template version is
> being referenced)
> ------------------------------------------------------------------------------------------
>
> Key: KAFKA-19591
> URL: https://issues.apache.org/jira/browse/KAFKA-19591
> Project: Kafka
> Issue Type: Bug
> Components: build
> Reporter: Dejan Stojadinović
> Assignee: Dejan Stojadinović
> Priority: Minor
> Attachments: screenshot-1.png
>
>
> {panel:bgColor=#ffffce}
> *_Prologue: Kafka developers can't commit jar's into Gir repo (that includes
> Gradle wrapper jar_*
> Related links:
> *
> https://issues.apache.org/jira/browse/KAFKA-2098?focusedCommentId=14481979&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14481979
> * https://issues.apache.org/jira/browse/KAFKA-1490
> *
> [https://stackoverflow.com/questions/39856714/gradle-wrapper-without-the-jar]
> *
> [https://discuss.gradle.org/t/how-hand-compile-gradle-wrapper-jar-when-gradle-cannot-be-installed-and-cannot-check-jar-files-into-git/4813]{panel}
>
> *(i) Intro:* Groovy file _*unixStartScript.txt*_ (that servers as a template
> for a {_}*gradlew*{_}) path/module was changed in Gradle version 8.8.0
> _*(x) Problem description:*_
> # at the moment Kafka trunk branch is using Gradle version
> [8.14.1|https://github.com/apache/kafka/blob/8deb6c6911616f887ebb2678f3f12ee1da09a618/gradle/wrapper/gradle-wrapper.properties]
> but thing is that _*gradlew*_ is referencing Gradle 8.7.0 template file
> _*unixStartScript.txt*_
> # it means that _*gradlew*_ is missing all recent changes for a template
> file _*unixStartScript.txt*_
> *_Related GitHub Gradle links for unixStartScript.txt:_*
> * Gradle <=8.7.0 version
> ** file path:
> [https://github.com/gradle/gradle/blob/v8.7.0/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
> ** Git history for versions <=8.7.0:
> [https://github.com/gradle/gradle/commits/v8.7.0/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
> * Gradle >= 8.8.0 version:
> ** file path:
> [https://github.com/gradle/gradle/blob/v8.8.0/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
> ** Git history for versions [8.8.0, 8.14.1]:
> [https://github.com/gradle/gradle/commits/v8.14.1/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt]
> !screenshot-1.png!
> *Other related links:*
> * [https://github.com/gradle/gradle/compare/v8.7.0...v8.8.0]
> *
> [https://github.com/gradle/gradle/commit/c5ec05d90780454c7c20c66533b804d80d67639f]
> Moving code out of plugins project to more appropriate sub-projects
> *
> [https://github.com/gradle/gradle/commit/9041afac3b20f4878b5b0d59c1fb6b3b0982b53f]
> Refactor start scripts to support executable JAR
> *_-Loosely- related Gradle Github issue:_*
> [https://github.com/gradle/gradle/issues/30101] Use permalink in the
> generated gradlew file
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
