I am trying to switch to the Artifactory Gradle plugin, which will be published in my local instance of Artifactory.
I have the latest version (default installation) running on localhost: 8081 / artifactory. I can check it with a web browser.
However, with my minimal example .. I get a " Context URL could not be found Error
Please note that I have specified all the required Artifactory configuration parameters - (as indicated in the Artifactory Gradle WebPage) .. including the context URL.
buildscript { repositories{ maven { url 'http://repo.jfrog.org/artifactory/gradle-plugins' } } dependencies{ classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.0.12'} } apply plugin: 'artifactory' artifactory { contextUrl = 'http://localhost:8081/artifactory' //The base Artifactory URL if not overridden by the publisher/resolver publish { repository { repoKey = 'integration-libs' //The Artifactory repository key to publish to username = 'admin' //The publisher user name password = 'password' } } resolve { repository { repoKey = 'libs-releases' //The Artifactory (preferably virtual) repository key to resolve from } } }
artifactory gradle
vicsz
source share