GoogleCloudPlatform / healthcare-dicom-dicomweb-adapter

Adapter which transforms DIMSE requests to DICOMweb requests
Apache License 2.0
119 stars 48 forks source link

Can't build with gradle 6+ #74

Closed dzelemba closed 4 years ago

dzelemba commented 4 years ago
gradle build
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/dzelemba/code/healthcare-dicom-dicomweb-adapter/export/build.gradle' line: 81

* What went wrong:
A problem occurred evaluating project ':export'.
> Could not create task ':export:downloadLicenses'.
   > Replacing an existing task that may have already been used by other plugins is not supported.  Use a different name for this task ('downloadLicenses')
fernandogbi commented 4 years ago
gradle build
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/dzelemba/code/healthcare-dicom-dicomweb-adapter/export/build.gradle' line: 81

* What went wrong:
A problem occurred evaluating project ':export'.
> Could not create task ':export:downloadLicenses'.
   > Replacing an existing task that may have already been used by other plugins is not supported.  Use a different name for this task ('downloadLicenses')

I fix this issue using gradle version 5.6, try to install this version and run the build again

dzelemba commented 4 years ago

Thanks! Yup using Gradle version 5.6 works for me, I'll keep this open to track fixing for Gradle v6+.