Home > OS >  Meaning of jar.enabled=false in Gradle
Meaning of jar.enabled=false in Gradle

Time:11-22

I've seen in a build.gradle file the following setting:

jar.enabled = false

What does that line do?

Sorry but I just couldn't find it on Google.

CodePudding user response:

JAR stands for Java ARchive. JAR is the only archive format that is cross-platform and the only format that handles audio and image files as well as class files.

When jar.enabled is set to true it creates a JAR of your application in build/libs/.

  • Related