Exception caused by: java.lang.ClassNotFoundException: org.reactivestreams.Publisher - intellij-idea

In a JavaFX Gradle-based application that I develop using RxJava and Kotlin in IntelliJ IDEA 2017.1.2 (Build #IC-171.4249.39), I'm getting an exception:
Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: org/reactivestreams/Publisher
everytime a code like this
return Completable.complete()
is executed. Following a suggestion of a similar question Why I am getting NoClassDefFoundError: org/reactivestreams/Publisher, I've tried to add include the reactive-streams to the dependencies block of my build.gradle script
dependencies {
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.1.2'
compile 'org.reactivestreams:reactive-streams:1.0.0'
compile 'io.reactivex.rxjava2:rxkotlin:2.0.0'
}
but the problem persists. The dependency tree looks like this one:
compile - Dependencies for source set 'main' (deprecated, use 'implementation ' instead).
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
| \--- org.jetbrains:annotations:13.0
+--- org.reactivestreams:reactive-streams:1.0.0
\--- io.reactivex.rxjava2:rxkotlin:2.0.0
+--- io.reactivex.rxjava2:rxjava:2.0.7
| \--- org.reactivestreams:reactive-streams:1.0.0
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.0 -> 1.1.2 (*)
compileClasspath - Compile classpath for source set 'main'.
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
| \--- org.jetbrains:annotations:13.0
+--- org.reactivestreams:reactive-streams:1.0.0
\--- io.reactivex.rxjava2:rxkotlin:2.0.0
+--- io.reactivex.rxjava2:rxjava:2.0.7
| \--- org.reactivestreams:reactive-streams:1.0.0
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.0 -> 1.1.2 (*)
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
| \--- org.jetbrains:annotations:13.0
+--- org.reactivestreams:reactive-streams:1.0.0
\--- io.reactivex.rxjava2:rxkotlin:2.0.0
+--- io.reactivex.rxjava2:rxjava:2.0.7
| \--- org.reactivestreams:reactive-streams:1.0.0
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.0 -> 1.1.2 (*)
\--- org.jetbrains.kotlin:kotlin-annotation-processing:1.1.2
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
\--- org.jetbrains:annotations:13.0
kaptTest
\--- org.jetbrains.kotlin:kotlin-annotation-processing:1.1.2
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
\--- org.jetbrains:annotations:13.0
runtime - Runtime dependencies for source set 'main' (deprecated, use 'runtimeOnly ' instead).
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
| \--- org.jetbrains:annotations:13.0
+--- org.reactivestreams:reactive-streams:1.0.0
\--- io.reactivex.rxjava2:rxkotlin:2.0.0
+--- io.reactivex.rxjava2:rxjava:2.0.7
| \--- org.reactivestreams:reactive-streams:1.0.0
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.0 -> 1.1.2 (*)
runtimeClasspath - Runtime classpath of source set 'main'.
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
| \--- org.jetbrains:annotations:13.0
+--- org.reactivestreams:reactive-streams:1.0.0
\--- io.reactivex.rxjava2:rxkotlin:2.0.0
+--- io.reactivex.rxjava2:rxjava:2.0.7
| \--- org.reactivestreams:reactive-streams:1.0.0
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.0 -> 1.1.2 (*)
testCompile - Dependencies for source set 'test' (deprecated, use 'testImplementation ' instead).
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
| \--- org.jetbrains:annotations:13.0
+--- org.reactivestreams:reactive-streams:1.0.0
\--- io.reactivex.rxjava2:rxkotlin:2.0.0
+--- io.reactivex.rxjava2:rxjava:2.0.7
| \--- org.reactivestreams:reactive-streams:1.0.0
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.0 -> 1.1.2 (*)
testCompileClasspath - Compile classpath for source set 'test'.
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
| \--- org.jetbrains:annotations:13.0
+--- org.reactivestreams:reactive-streams:1.0.0
\--- io.reactivex.rxjava2:rxkotlin:2.0.0
+--- io.reactivex.rxjava2:rxjava:2.0.7
| \--- org.reactivestreams:reactive-streams:1.0.0
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.0 -> 1.1.2 (*)
testRuntime - Runtime dependencies for source set 'test' (deprecated, use 'testRuntimeOnly ' instead).
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
| \--- org.jetbrains:annotations:13.0
+--- org.reactivestreams:reactive-streams:1.0.0
\--- io.reactivex.rxjava2:rxkotlin:2.0.0
+--- io.reactivex.rxjava2:rxjava:2.0.7
| \--- org.reactivestreams:reactive-streams:1.0.0
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.0 -> 1.1.2 (*)
testRuntimeClasspath - Runtime classpath of source set 'test'.
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2
| \--- org.jetbrains:annotations:13.0
+--- org.reactivestreams:reactive-streams:1.0.0
\--- io.reactivex.rxjava2:rxkotlin:2.0.0
+--- io.reactivex.rxjava2:rxjava:2.0.7
| \--- org.reactivestreams:reactive-streams:1.0.0
\--- org.jetbrains.kotlin:kotlin-stdlib:1.1.0 -> 1.1.2 (*)
As you can see, org.reactivestreams:reactive-streams is present in each environment.
Now, I've managed to resolve the problem by adding manually dependency on a reactive-streams-1.0.0.jar, but I don't like this solution at all.
Could somebody advice a better solution? Thanks!

Related

How to make Kotlin Fuel json serializer to compile?

I'm trying to use Fuel JSON deserializer so I added it to my dependencies like this:
implementation 'com.github.kittinunf.fuel:fuel:2.2.1'
implementation 'com.github.kittinunf.fuel:fuel-json:2.2.1'
However each time I'm running ./gradlew clean build I'm getting this error:
> Task :compileKotlin FAILED
e: /DirToMyClass/MyClass.kt: (55, 26): Cannot access class 'org.json.JSONObject'. Check your module classpath for missing or conflicting dependencies
I've run ./gradlew dependencies to check that there are no other dependency importing org.json and the only one is fuel-json.
+--- com.github.kittinunf.fuel:fuel-json:2.2.1
| +--- com.github.kittinunf.fuel:fuel:2.2.1 (*)
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.50 -> 1.3.60 (*)
| \--- org.json:json:20180813
What can I be missing?
I've fixed this by changing the dependencies to:
implementation 'com.github.kittinunf.fuel:fuel:2.2.1'
implementation('com.github.kittinunf.fuel:fuel-json:2.2.1') {
exclude group: 'org.json', module: 'json'
}
implementation 'org.json:json:20190722'
Using a newer version of org.json:json.

Gradle 'exclude' troubleshooting: nested dependencies on both protobuf-java AND protobuf-lite

I am attempting to test my Android app (on device), but during the gradle build process I am getting "Error: Program type already present: com.google.protobuf.AnyProto" (or other classes).
I am using Google Firebase-Firestore DB, which implements grpc and uses nested dependency: com.google.protobuf:protobuf-lite:3.0.1.
Also, the google/Capillary library uses nested dependency: com.google.protobuf:protobuf-java:3.4.0.
If I exclude com.google.protobuf from the Capillary lib dependency only, the app will run, then crash when a needed Capillary class is instantiated, with error: "java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/protobuf/GeneratedMessageV3;"
Here are my app dependencies, without exclusions:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-media-compat:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:design:28.0.0'
implementation 'com.google.firebase:firebase-core:16.0.8'
implementation 'com.google.firebase:firebase-auth:16.2.0'
implementation 'com.google.firebase:firebase-messaging:17.5.0'
implementation 'com.google.android.gms:play-services-auth:16.0.1'
//HERE ARE THE PROBLEM DEPENDENCIES:
implementation('com.google.firebase:firebase-firestore:18.2.0', {})
implementation('com.google.capillary:lib-android:1.0.0', { })
//
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
And here is the (tree) readout of gradlew app:dependencies:
...{CONTENT ABOVE OMITTED}...
+--- com.google.firebase:firebase-firestore:18.2.0
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.firebase:firebase-auth-interop:16.0.1 (*)
| +--- com.google.firebase:firebase-common:16.1.0 (*)
| +--- com.google.firebase:firebase-database-collection:16.0.1
| +--- com.google.firebase:protolite-well-known-types:16.0.1
| | \--- com.google.protobuf:protobuf-lite:3.0.1
| +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
| +--- com.squareup.okhttp:okhttp:2.7.5
| | \--- com.squareup.okio:okio:1.6.0 -> 1.13.0
| +--- io.grpc:grpc-android:1.16.1
| | \--- io.grpc:grpc-core:[1.16.1] -> 1.16.1
| | +--- io.grpc:grpc-context:1.16.1
| | +--- com.google.code.gson:gson:2.7
| | +--- com.google.errorprone:error_prone_annotations:2.2.0
| | +--- com.google.code.findbugs:jsr305:3.0.2
| | +--- org.codehaus.mojo:animal-sniffer-annotations:1.17
| | +--- com.google.guava:guava:26.0-android
| | | +--- org.checkerframework:checker-compat-qual:2.5.2
| | | \--- com.google.j2objc:j2objc-annotations:1.1
| | +--- io.opencensus:opencensus-api:0.12.3
| | | \--- com.google.errorprone:error_prone_annotations:2.2.0
| | \--- io.opencensus:opencensus-contrib-grpc-metrics:0.12.3
| | +--- com.google.errorprone:error_prone_annotations:2.2.0
| | \--- io.opencensus:opencensus-api:0.12.3 (*)
| +--- io.grpc:grpc-okhttp:1.16.1
| | +--- io.grpc:grpc-core:[1.16.1] -> 1.16.1 (*)
| | +--- com.squareup.okhttp:okhttp:2.5.0 -> 2.7.5 (*)
| | \--- com.squareup.okio:okio:1.13.0
| +--- io.grpc:grpc-protobuf-lite:1.16.1
| | +--- io.grpc:grpc-core:1.16.1 (*)
| | +--- com.google.protobuf:protobuf-lite:3.0.1
| | \--- com.google.guava:guava:26.0-android (*)
| \--- io.grpc:grpc-stub:1.16.1
| \--- io.grpc:grpc-core:1.16.1 (*)
\--- com.google.capillary:lib-android:1.0.0
+--- com.google.capillary:lib:1.0.0
| \--- com.google.protobuf:protobuf-java:3.4.0
+--- com.google.crypto.tink:tink-android:1.1.0
+--- com.google.crypto.tink:apps-webpush:1.1.0
+--- com.google.protobuf:protobuf-java:3.4.0
+--- joda-time:joda-time:2.9.9
\--- com.android.support:support-annotations:27.1.1 -> 28.0.0
I have tried using several combinations of package exclusions, including fully excluding com.google.protobuf from both Firestore and Capillary and implementing either separately:
implementation('com.google.protobuf:protobuf-java:3.4.0')
//{OR}
//implementation('com.google.protobuf:protobuf-lite:3.0.1')
implementation('com.google.firebase:firebase-firestore:18.2.0', {
exclude group: 'com.google.protobuf'//, module: 'protobuf-lite'
})
implementation('com.google.capillary:lib-android:1.0.0', {
exclude group: 'com.google.protobuf'//, module: 'protobuf-java'
})
^I have tried several combinations of this, with no success.
When I exclude 'com.google.protobuf' only from the Capillary lib dependency (I am not using the grpc functionality of this library), I am able to get the app to run, however, it does crash when a necessary object from the Capillary library is instantiated, with error: "java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/protobuf/GeneratedMessageV3;"
Is anyone able to help me sort this out so that there are no redundant dependencies nor missing class definitions, without breaking the functionality of the Capillary dependency?

"error: cannot access Killable" while compiling the code with selenium java 3.11 libraries

The code compilation is failing with "error: cannot access Killable" at the line
class FirefoxWebDriver extends FirefoxDriver{
......
We have upgraded to Selenium 3.11 from 3.3.1. We are trying to run tests on browser configured with selenium grid using Docker. I found that Killable class was removed. Kindly suggest if I need update any code chagnes.
Thanks.
It is tough to analyze/conclude without your Project Setup information (i.e. you are using Selenium JARs, Ant, Maven or Gradle), your code trials and the error stack trace.
However this error message...
error: cannot access Killable
...implies that your program faced an error while while accessing Killable.
Killable.class file
As per the discussion Killable ClassNotFound the Killable.class file was contained in selenium-api-2.21.0.jar. Additionally, using Maven dependency of selenium-server 2.21.0 produced the error:
Exception in thread "main" java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/openqa/selenium/internal/Killable
Explaination
As you have mentioned you have upgraded from Selenium 3.3.1 to Selenium 3.11 the possible reason is version conflict among the binaries you are using either in the form of JARs, Maven or Gradle dependency and can be due to presence of one/multiple among the following:
selenium-server 2.21.0.jar
selenium-api-2.21.0.jar
Maven dependency of selenium-server 2.21.0 or selenium-api-2.21.0
Gradle dependency of selenium-server 2.21.0 or selenium-api-2.21.0
Solution
If you are using Selenium Java Jars download and add the respective jar/jars either (from):
selenium-server-standalone-3.11.0.jar
selenium-java-3.11.0.zip
If you are using Maven dependency for Selenium use either of the following:
Selenium Java Client dependency:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.11.0</version>
</dependency>
Selenium Server dependency:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>3.11.0</version>
</dependency>
trivia
If you are using Maven you can add this block in your root pom (within the build section just add to the plugins) to troubleshoot the different versions of binaries you got.
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>enforce</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<DependencyConvergence />
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
For your reference selenium-server 2.21.0 output tree was as follows:
[INFO] \- org.seleniumhq.selenium:selenium-server:jar:2.21.0:compile
[INFO] +- org.bouncycastle:bcprov-jdk15on:jar:1.47:compile
[INFO] +- mx4j:mx4j-tools:jar:3.0.1:compile
[INFO] +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.9:compile
[INFO] +- org.seleniumhq.selenium:jetty-repacked:jar:7.6.1:compile
[INFO] +- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] +- org.seleniumhq.selenium:selenium-java:jar:2.21.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-android-driver:jar:2.21.0:compile
[INFO] | | \- org.seleniumhq.selenium:selenium-remote-driver:jar:2.21.0:compile
[INFO] | | +- cglib:cglib-nodep:jar:2.1_3:compile
[INFO] | | +- org.json:json:jar:20080701:compile
[INFO] | | \- com.google.guava:guava:jar:11.0.1:compile
[INFO] | | \- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] | +- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.21.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.21.0:compile
[INFO] | | +- org.seleniumhq.selenium:selenium-api:jar:2.21.0:compile
[INFO] | | +- net.sourceforge.htmlunit:htmlunit:jar:2.9:compile
[INFO] | | | +- xalan:xalan:jar:2.7.1:compile
[INFO] | | | | \- xalan:serializer:jar:2.7.1:compile
[INFO] | | | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | | | +- commons-lang:commons-lang:jar:2.6:compile
[INFO] | | | +- org.apache.httpcomponents:httpmime:jar:4.1.2:compile
[INFO] | | | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.9:compile
[INFO] | | | +- xerces:xercesImpl:jar:2.9.1:compile
[INFO] | | | | \- xml-apis:xml-apis:jar:1.3.04:compile
[INFO] | | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.15:compile
[INFO] | | | +- net.sourceforge.cssparser:cssparser:jar:0.9.5:compile
[INFO] | | | | \- org.w3c.css:sac:jar:1.3:compile
[INFO] | | | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] | | \- org.apache.httpcomponents:httpclient:jar:4.1.2:compile
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.1.2:compile
[INFO] | +- org.seleniumhq.selenium:selenium-firefox-driver:jar:2.21.0:compile
[INFO] | | +- commons-io:commons-io:jar:2.0.1:compile
[INFO] | | \- org.apache.commons:commons-exec:jar:1.1:compile
[INFO] | +- org.seleniumhq.selenium:selenium-ie-driver:jar:2.21.0:compile
[INFO] | | +- net.java.dev.jna:jna:jar:3.4.0:compile
[INFO] | | \- net.java.dev.jna:platform:jar:3.4.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-iphone-driver:jar:2.21.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-safari-driver:jar:2.21.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-support:jar:2.21.0:compile
[INFO] | \- org.webbitserver:webbit:jar:0.4.6:compile
[INFO] | \- org.jboss.netty:netty:jar:3.2.7.Final:compile
[INFO] +- org.yaml:snakeyaml:jar:1.8:compile
[INFO] \- commons-codec:commons-codec:jar:1.6:compile

Firebase - Gradle failed on build - com.google.android.gms:play-services-measurement-base

Recently I updated all my versions in the build.gradle file and still the build fails every time.
I get this error message
The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[15.0.4,15.0.4]], but resolves to 15.0.2. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
The library com.google.firebase:firebase-analytics is being requested by various other libraries at [[16.0.0,16.0.0]], but resolves to 15.0.2. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
I have tried all of the solutions suggested in other posts like:
Gradle sync fails - play-services-measurement-base
Android Studio Error The library com.google.android.gms:play-services-measurement-base
com.google.android.gms:play-services-measurement-base is being requested by various other libraries
Unfortunately, nothing worked, and I am desperate.
I am using react native with Firebase and Firestore.
Got this same error and have been stuck on it all week. I had this problem with another library and ended up having to manually change the version of the conflicting library. In that case, ./gradlew :app:dependencies was able to highlight which package it was. In this case, it does not.
All I'm seeing in the analyze depenedencies call is
com.google.firebase:firebase-core:16.0.1
| +--- com.google.firebase:firebase-analytics:16.0.1 (*)
| \--- com.google.firebase:firebase-measurement-connector-impl:16.0.1
| +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| +--- com.google.android.gms:play-services-measurement-base:[16.0.0] -> 16.0.0
| +--- com.google.firebase:firebase-analytics:[16.0.1] -> 16.0.1 (*)
| +--- com.google.firebase:firebase-analytics-impl:[16.1.1] -> 16.1.1 (*)
| +--- com.google.firebase:firebase-common:16.0.0 (*)
| \--- com.google.firebase:firebase-measurement-connector:16.0.0
| \--- com.google.android.gms:play-services-basement:15.0.1 (*)
\--- com.google.firebase:firebase-messaging:17.0.0
+--- com.google.android.gms:play-services-basement:15.0.1 (*)
+--- com.google.android.gms:play-services-tasks:15.0.1 (*)
+--- com.google.firebase:firebase-common:16.0.0 (*)
+--- com.google.firebase:firebase-iid:[16.0.0] -> 16.0.0 (*)
\--- com.google.firebase:firebase-measurement-connector:16.0.0 (*)
which hints that its resolving at 16.0.1 which what I intended..
compile ("com.google.firebase:firebase-analytics:16.0.1") {
force = true
}
Here's my error:
* What went wrong:
Failed to notify dependency resolution listener.
> The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[16.0.0,16.0.0]], but resolves to 15.0.2. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
> The library com.google.firebase:firebase-analytics is being requested by various other libraries at [[16.0.1,16.0.1]], but resolves to 15.0.2. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.

Intellij downloads Gradle dependencies but cannot resolve symbols

When I try and use dependencies I have set out in my build.gradle Intellij cannot build the code and raises errors java: cannot find symbol. How can I get Intellij to recognise my dependencies?
PS: The lbrary is showing up in "External Libraries" and I am also having this issue with all my other dependencies.
In my build.gradle I have this:
...
dependencies {
...
compile 'com.squareup.okhttp:okhttp:2.1.0'
}
In my code I try and use this library:
import com.squareup.okhttp.OkHTTPClient;
...
OkHTTPClient client = new OkHTTPClient();
errors raised on both lines.
EDIT from comment: Command line build fails with the same errors, I guess I wrongly blamed Intellij. How can I tell why the dependencies are not being downloaded? They are sitting in my build.gradle in dependencies just as I showed. They are also present when running gradle dependencies under compile, default, runtime, testCompile and testRuntime, but not archives. Is that where the issue lies?
EDIT2: Ouput of gradle dependencies:
:dependencies
------------------------------------------------------------
Root project
------------------------------------------------------------
archives - Configuration for archive artifacts.
No dependencies
compile - Classpath for compiling the main sources.
+--- com.google.code.gson:gson:2.3.1
\--- com.squareup.okhttp:okhttp:2.1.0
\--- com.squareup.okio:okio:1.0.1
default - Configuration for default artifacts.
+--- com.google.code.gson:gson:2.3.1
\--- com.squareup.okhttp:okhttp:2.1.0
\--- com.squareup.okio:okio:1.0.1
runtime - Classpath for running the compiled main classes.
+--- com.google.code.gson:gson:2.3.1
\--- com.squareup.okhttp:okhttp:2.1.0
\--- com.squareup.okio:okio:1.0.1
testCompile - Classpath for compiling the test sources.
+--- com.google.code.gson:gson:2.3.1
+--- com.squareup.okhttp:okhttp:2.1.0
| \--- com.squareup.okio:okio:1.0.1
\--- junit:junit:4.11
\--- org.hamcrest:hamcrest-core:1.3
testRuntime - Classpath for running the compiled test classes.
+--- com.google.code.gson:gson:2.3.1
+--- com.squareup.okhttp:okhttp:2.1.0
| \--- com.squareup.okio:okio:1.0.1
\--- junit:junit:4.11
\--- org.hamcrest:hamcrest-core:1.3
BUILD SUCCESSFUL
Total time: 1.82 secs