I too am getting the error “…unknown property ‘com’”
I have a project that creates a custom wrapper which includes a script in init.d named artifactory.gradle
initscript{
Properties properties = new Properties()
properties.load(new File(getGradleUserHomeDir(), 'gradle.properties').newDataInputStream())
repositories {
maven {
url properties.artifactory_contextUrl + '/gradle-plugins-virtual'
credentials {
username = properties.artifactory_user
password = properties.artifactory_password
}
}
}
dependencies {
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.17.2"
}
}
apply plugin: com.jfrog.artifactory //unknown property com
// apply plugin: 'com.jfrog.artifactory' //gives plugin not found error
println "artifactory.gradle - called"
when I run a project configured to use this wrapper I get the errors indicated here.
Any help appreciated. How do I verify my classpath?
[Build Scan® | Gradle Cloud Services](https://build scan)