title: Could not get unknown property 'sourcesJar' for object of type org.gradle.api.publish.maven.internal.publication.DefaultMavenPublication
body: <p>When build my Gradle Java project with Intellj. I get this error
  <a href="https://i.stack.imgur.com/9xOWd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9xOWd.png" alt="enter image description here"></a></p>
  
  <p>But when build this project with command line <code>gradle clean build</code>, it success. How to solve this issue</p>