#Building jar files with intellij
30 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @severe tide! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
If using "mvn package" it will be in the target directory
I’m pretty sure you can go in artifact, add an output jar
I thought artifacts werent used if using gradle / maven ?
How do i see if im using mvn package
Oh
There’s a maven build
It should be preconfigured
There’s a maven tab on the right
https://www.jetbrains.com/help/idea/compiling-applications.html i feel like youre not using gradle or maven and just intellij. Use this link under package a jar file (or similar)
If youre not sure about using maven or gradle, pls send a screenshot of your project setup(file list in intellij)
I have Gradle
yep
but the guide im following uses the Maven thing in the build args
https://www.jetbrains.com/help/idea/getting-started-with-gradle.html never used gradle, hope this helps
Me too
Can you expand Tasks?
Try gradle assemble
.
in the build args?
Not build args just gradle assemble in the terminal
PS C:\Users\James\Desktop\devious-client> gradle assemble
gradle : The term 'gradle' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- gradle assemble
-
+ CategoryInfo : ObjectNotFound: (gradle:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
This is the guide im following dont know if it can help you understand what im trying to do better https://github.com/illumineawake/illu-plugins/wiki/Adding-Illumine-repo-to-IntelliJ