• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: How do I use Gradle to implement an artifact in the custom jar task?

Resolved: How do I use Gradle to implement an artifact in the custom jar task?

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

Like this:
I do not want to use runtimeOnly(project("project1")), because the module has more than 2 jar artifacts.
But this is not true. result:

org.gradle.api.InvalidUserCodeException: Querying the mapped value of task ‘:project1:shadowJar’ property ‘archiveFile’ before task ‘:project1:shadowJar’ has completed is not supported


Answer:

Pass the configuration to use:

If you have better answer, please add a comment about this, thank you!

gradle java kotlin
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Modify entity using Action in C#

24/03/2023

Resolved: How to give rank on datetime column group by another column with userid in it

24/03/2023

Resolved: Passing 2 functions in onChange in react

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.