adit77799 / android-shuffle

Automatically exported from code.google.com/p/android-shuffle
0 stars 0 forks source link

How to get org.dodgybits.shuffle:shuffle-dto:2.0.3-SNAPSHOT resolved as a gradle dependency? #331

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Andy, I'd like to thank you for your hard work on this project.  It's the only 
Android GTD app that works well with Tracks.

I've been using your app for a few years, really like it.  Thought it would be 
interesting to explore the source code, possibly even help out on some small 
bugs.

I understand you have limited time to devote to this project.  No worries if 
you are too busy, I don't wish to take up your time.

So far I've cloned the main git project and imported into the latest version of 
Android Studio.
git clone https://bitbucket.org/andybryant/shuffle-android.git

Two questions:

1.  Should I be using the master or event-driven branch?  I see more recent 
work done on event-driven, but perhaps it's not stable.

2. Any hints on getting org.dodgybits.shuffle:shuffle-dto:2.0.3-SNAPSHOT to 
compile as a dependency?

While in the master branch, a Gradle sync complains it can't resolve 
org.dodgybits.shuffle:shuffle-dto:2.0.3-SNAPSHOT in the build.gradle file.

On 
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.dodgybits.shuffle%22%20AN
D%20a%3A%22shuffle-dto%22
Version 2.0.2 is the latest version (I assume we can't find 2.0.3)

Thus changing 
compile ('org.dodgybits.shuffle:shuffle-dto:2.0.3-SNAPSHOT') {
to
compile ('org.dodgybits.shuffle:shuffle-dto:2.0.2') {
satisfies the dependency.

I notice though if I run Android shuffle with the 2.0.2 dependency, I get many 
"cannot find symbol class X" errors:
....
/home/sgallese/opensource/shuffle-android/ShuffleAndroid/src/main/java/org/dodgy
bits/shuffle/android/core/model/Entity.java
Error:(4, 40) error: package org.dodgybits.shuffle.sync.model does not exist
Error:(4, 40) error: package org.dodgybits.shuffle.sync.model does not exist
/home/sgallese/opensource/shuffle-android/ShuffleAndroid/src/main/java/org/dodgy
bits/shuffle/android/core/model/persistence/InitialDataGenerator.java
Error:(36, 40) error: package org.dodgybits.shuffle.sync.model does not exist
Error:(36, 40) error: package org.dodgybits.shuffle.sync.model does not exist
/home/sgallese/opensource/shuffle-android/ShuffleAndroid/src/main/java/org/dodgy
bits/shuffle/android/server/sync/SyncResponseProcessor.java
Error:(52, 38) error: cannot find symbol class SyncResponse
.....

Thanks again for your work, much appreciated!  5 stars on Google Play.

-Seb

Original issue reported on code.google.com by sebastia...@gmail.com on 22 Feb 2015 at 6:59