0

After building the Gradle project there is a .jar file is created in build\libs and I want to use it as Artifactory and trying to upload to libs-release-local, it looks like this

https://company.jfrog.io/artifactory/libs-release-local/com/abc/xyz/blog-service/v1/

here I can see three files blog-service-v1.jar, blog-service-v1.module, blog-service-v1.pom.

I can manually upload the .jar file and overwrite it from my local to Artifactory using

  • jfrog rt u blog-service-v1.jar
  • libs-release-local/com/abc/xyz/blog-service/v1/

But where would I get the other two files?

Is it created automatically in an artifact or I have to manually upload it, If I have to manually upload it then where would I get these files?

TylerH
  • 20,799
  • 66
  • 75
  • 101
nauki
  • 21
  • 2

1 Answers1

0

After some changes in build.gradle (click here for more) gradle uploads it to artifactory. All you need to do is run this(gradle artifactoryPublish) from your command line.

nauki
  • 21
  • 2