Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63222 - [gradle] gradle init produces broken gradlew config, wrong distributionUrl

Attached to Project: Community Packages
Opened by Sefa Eyeoglu (Scrumplex) - Wednesday, 17 July 2019, 22:59 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 03 September 2019, 22:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
When running "gradle init" it produces a broken gradlew setup, as the distributionUrl points to a non-existant file on the gradle servers. Gradlew does not work at all.

Additional info:
* package version: 5.5-1
* config and/or log files etc.

The distributionUrl points to "https://downloads.gradle.org/distributions-snapshots/gradle-5.5-20190701220625+0000-bin.zip"

Steps to reproduce:
cd ~
mkdir gradle_test
cd gradle_test
gradle init
2
3
1
1
(enter)
(enter)
./gradlew run
This task depends upon

Closed by  Levente Polyak (anthraxx)
Tuesday, 03 September 2019, 22:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.6.1-1
Comment by Peter Schyma (pschyma) - Thursday, 15 August 2019, 07:49 GMT
Hi,

according to the Gradle team [1] this is related to the fact that a nightly version is used by Arch instead of the official release.


[1] https://github.com/gradle/gradle/issues/10144
Comment by Francis Agyapong (francis36012) - Sunday, 18 August 2019, 05:13 GMT
A snapshot version is what is built by default, unless -PfinalRelease=true is specified with the installAll task.

Loading...