I’m using this code at the moment to download a plugin from GitHub within the build system:
buildscript {
repositories {
add(new org.apache.ivy.plugins.resolver.URLResolver()) {
name = 'GitHub'
addArtifactPattern 'http://cloud.github.com/downloads/[organisation]/[module]/[module]-[revision].[ext]'
}
}
dependencies {
classpath 'GithubUsername:custom-gradle-plugin:0.1.0'
}
}
apply plugin: "custom-plugin"
At the moment I’m getting the following error:
Could not open cache directory /home/chris/.gradle/caches/1.0-milestone-6/scripts/build_1d06v4bgiuciqqins0mlhdgcne/ProjectScript/no_buildscript.
Cause: Invalid signature file digest for Manifest main attributes
I’m not sure what I need to do to sign a plugin? and why a CacheOpenException wrapped from a java.lang.SecurityException is being thrown?
Any help is appreciated. Thanks.