Currently I restart my work on the Kotlin support for RxJava.
And now I have a problem with the gradle build system (not sure if is my build.gradle or the plugin)
When I try to run /gradlew I get this error
FAILURE: Build failed with an exception.
-
Where:
Build file ‘/Users/mario/IdeaProjects/KotlinProjects/rx/rx4/RxJava/language-adaptors/rxjava-kotlin/build.gradle’ line: 1
-
What went wrong:
A problem occurred evaluating project ‘:language-adaptors:rxjava-kotlin’.
> Could not resolve all dependencies for configuration ‘detachedConfiguration1’.
> Could not find org.jetbrains.kotlin:kotlin-gradle-plugin-core:0.6.350.
Required by:
com.netflix.rxjava:rxjava-kotlin:0.13.5-SNAPSHOT
The only difference that I can see is that my kotlin module is a sub module
apply plugin: 'kotlin'
apply plugin: 'osgi'
dependencies {
compile project(‘:rxjava-core’)
compile ‘org.jetbrains.kotlin:kotlin-stdlib:0.6.+’
provided ‘junit:junit-dep:4.10’
provided ‘org.mockito:mockito-core:1.8.5’
}
jar {
manifest {
name = ‘rxjava-kotlin’
instruction ‘Bundle-Vendor’, ‘Netflix’
instruction ‘Bundle-DocURL’, ‘https://github.com/Netflix/RxJava’
instruction ‘Import-Package’, ‘!org.junit,!junit.framework,!org.mockito.,’
instruction ‘Fragment-Host’, ‘com.netflix.rxjava.core’
}
}
the plugin dependency is declared on gradle/buildscript.gradle
// Executed in context of buildscript
repositories {
// Repo in addition to maven central
repositories { maven { url 'http://dl.bintray.com/content/netflixoss/external-gradle-plugins/' } } // For gradle-release
}
dependencies {
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.1'
classpath 'com.mapvine:gradle-cobertura-plugin:0.1'
classpath 'gradle-release:gradle-release:1.1.5'
classpath 'org.ajoberstar:gradle-git:0.5.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:0.6.+'
}
To reproduce this problem you could clone my github repository at https://github.com/MarioAriasC/RxJava/tree/develop
then checkout develop branch
git co develop
Any advice?