How can I override the artifactId?


(Merlyn Albery-Speyer) #1

I was using uploadArchives.repositories.mavenDeployer.pom.artifactId and that worked.

Now I am trying to use the JFrog artifactory plugin, and I don’t see a way to change the artifactId via their API.

Is there a different gradle-way to achieve what I am trying to do?

Or, does anyone know where I can find the JFrog source for the plugin?


(Merlyn Albery-Speyer) #2

Well. The source for the snapshot version of the artifactory plugin is here:

http://repo.jfrog.org/artifactory/gradle-plugins-snapshots/org/jfrog/buildinfo/build-info-extractor-gradle/2.0.x-SNAPSHOT/


(Merlyn Albery-Speyer) #3

Dead end.

Okay, my question put more generally:

“How can I have my project name differ from the name of the folder it is contained in?”


(Peter Niederwieser) #4

settings.gradle:

rootProject.name = “blah”