Exporting projects as .jar to IntelliJ

I recently switched from Eclipse to IntelliJ, and I'm a bit confused about how to export projects as .jars. I saw other posts that needed to be answered in File> Project Structure> Artifacts and add a new build artifact, and then use Assembly> Build Artifacts. However, I do not know where the bank is stored (if so), and I would also like to know how to export to a user location. I also think it's weird how IntelliJ takes about 20 seconds to compile a jar, while in Eclipse it only takes half a second.

+4
source share
1 answer

You can also use the "Build on make" option. IntelliJ will make a new jar for you every time you call make. Assuming a change has occurred. Otherwise, it will retain the existing bank.

In addition, the Artifacts configuration screen contains the location of the artifact.

enter image description here

+2
source

Source: https://habr.com/ru/post/1526450/


All Articles