Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not generate fatjar even with the example project #47

Open
HoshinoTented opened this issue Aug 22, 2019 · 2 comments
Open

Can not generate fatjar even with the example project #47

HoshinoTented opened this issue Aug 22, 2019 · 2 comments

Comments

@HoshinoTented
Copy link

log:

PS E:\Documents\Projects\gradle-eta\examples\fatjar> ./gradlew shadowJar --info
Initialized native services in: C:\Users\Administrator\.gradle\native
The client will now receive all logging from the daemon (pid: 13404). The daemon log file: C:\Users\Administrator\.gradle\daemon\5.4.1\daemon-13404.out.log
Starting 2nd build in daemon [uptime: 4 mins 47.665 secs, performance: 100%]
Using 4 worker leases.
Starting Build
Settings evaluated using settings file 'E:\Documents\Projects\gradle-eta\examples\fatjar\settings.gradle'.
Projects loaded. Root project using build file 'E:\Documents\Projects\gradle-eta\examples\fatjar\build.gradle'.
Included projects: [root project 'fatjar']
Configuration on demand is an incubating feature.

> Configure project :
Evaluating root project 'fatjar' using build file 'E:\Documents\Projects\gradle-eta\examples\fatjar\build.gradle'.
Invalidating in-memory cache of C:\Users\Administrator\.gradle\caches\journal-1\file-access.bin
Selected primary task 'shadowJar' from project :
All projects evaluated.
Executing external command: [C:\Users\Administrator\.gradle\caches\etlas\1.5.0.0\etlas.exe, select, --list, --installed] in workingDir: null
Executing external command: [C:\Users\Administrator\.gradle\caches\etlas\1.5.0.0\etlas.exe, --select-eta=0.8.6b5, deps, lib:fatjar] in workingDir: E:\Documents\Projects\gradl
e-eta\examples\fatjar\build\eta-freeze
Up to date
maven-dependencies,
dependency,base,,C:\Users\Administrator\AppData\Roaming\etlas\eta-0.8.6.5\base-4.11.1.0-9g5RhDO8RwrLhMSXPi8Eih\base-4.11.1.0-9g5RhDO8RwrLhMSXPi8Eih.jar,rts:ghc-prim:integer  
dependency,ghc-prim,,C:\Users\Administrator\AppData\Roaming\etlas\eta-0.8.6.5\ghc-prim-0.4.0.0-Jhi6UgHuZdoBZWUpVo3WKE\ghc-prim-0.4.0.0-Jhi6UgHuZdoBZWUpVo3WKE.jar,rts
dependency,integer,,C:\Users\Administrator\AppData\Roaming\etlas\eta-0.8.6.5\integer-0.5.1.0-ACyqTmAMUMGGvisLFeQbAm\integer-0.5.1.0-ACyqTmAMUMGGvisLFeQbAm.jar,ghc-prim       
dependency,rts,,C:\Users\Administrator\AppData\Roaming\etlas\eta-0.8.6.5\rts-0.1.0.0-5Dj4qf1Wx9cCeYbpni5T1w\rts-0.1.0.0-5Dj4qf1Wx9cCeYbpni5T1w.jar,
Resolving Eta Configuration ':annotationProcessor'
Resolving Eta Configuration ':compile'

FAILURE: Build failed with an exception.

* What went wrong:
Cannot change dependencies of configuration ':compile' after it has been included in dependency resolution.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s
@rahulmutt
Copy link
Member

Can you share the version of Gradle you're using?

@HoshinoTented
Copy link
Author

HoshinoTented commented Aug 24, 2019

Gradle 5.4.1, the same as example project one's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants