Could not find method artifactory() [Gradle 7.+]

1.2k views Asked by At

I am using Gradle 7.+ and we know its structure is different.

Now how can setup com.jfrog.artifactory plugin on gradle 7.+?

My JFrog artifactory using legacy gradle installation !

enter image description here

enter image description here

I tried to setup using gradle DSL & legacy one, But I got the same issue Could not find method artifactory()

Any Help?

1

There are 1 answers

0
Yuvarajan On BEST ANSWER

From the error message, the issue appears to be with the class invocation. Adding the apply plugin: "com.jfrog.artifactory"[OR] turning the 'apply' tag to true in the "com.jfrog.artifactory" section should help.