Can't load Jruby Gradle plugin
amiracam opened this issue · 2 comments
A problem occurred configuring root project 'JrubyVertxGradle'.
Could not resolve all artifacts for configuration ':classpath'.
Could not find com.github.jruby-gradle:jruby-gradle-core-plugin:2.0.0-alpha1.
Searched in the following locations:
- https://jcenter.bintray.com/com/github/jruby-gradle/jruby-gradle-core-plugin/2.0.0-alpha1/jruby-gradle-core-plugin-2.0.0-alpha1.pom
- https://jcenter.bintray.com/com/github/jruby-gradle/jruby-gradle-core-plugin/2.0.0-alpha1/jruby-gradle-core-plugin-2.0.0-alpha1.jar
- https://plugins.gradle.org/m2/com/github/jruby-gradle/jruby-gradle-core-plugin/2.0.0-alpha1/jruby-gradle-core-plugin-2.0.0-alpha1.pom
Required by:
project : > com.github.jruby-gradle:jruby-gradle-plugin:2.0.0-alpha1
here's my build.gradle:
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.3'
classpath 'com.github.jruby-gradle:jruby-gradle-plugin:2.0.0-alpha1'
// classpath 'com.github.jruby-gradle:jruby-gradle-jar-plugin:%%VERSION%%'
}
}
plugins {
id 'java'
}
//apply plugin: "com.github.jruby-gradle.jar"
repositories { jcenter() }
group 'Polyglotric'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
Unfortunately this an issue that we are waiting for the folks at Gradle Plugin Portal to resolve. The workaround is to add
repositories {
maven { url "https://dl.bintray.com/jruby-gradle/plugins" }
}