When I use the code below, a file of jar will generate after gradle build.
apply plugin \'java\'
Is there any settings won\'t generate the
You can do that by 2 ways:
explicitly exclude the jar task from execution: gradle build -x jar
jar
gradle build -x jar
disable the jar task in build.gradle: apply plugin: 'java' jar.enabled = false
build.gradle
apply plugin: 'java' jar.enabled = false