Hi, 
I did just did a test using this simple build.gradle 


apply plugin: 'java'

sourceCompatibility = 1.5
version = '1.0'

repositories {
    mavenCentral()
}

dependencies {
    testCompile group: 'junit', name: 'junit', version: '4.11'
    compile "org.jboss.aerogear:unifiedpush-java-client:0.5.0"
    compile "org.jboss.resteasy:resteasy-jackson-provider:2.3.2.Final"

}



And it can compile withou problems using this simple class : 



import org.jboss.aerogear.unifiedpush.JavaSender;
import org.jboss.aerogear.unifiedpush.SenderClient;

public class SenderWrapper {


    public void SenderWrapper() {
        JavaSender defaultJavaSender =
                new SenderClient("http://localhost:8080/ag-push");
    }
}



Are you sure that your gradle file has mavenCentral() enabled ? 




On Tue, Mar 25, 2014 at 4:46 PM, oxsav <vmfamaral@gmail.com> wrote:
Hello. I'm trying to use the UPS Java Client in one of my Java Projects.

As it says here:
https://github.com/aerogear/aerogear-unifiedpush-java-client

in maven it is just needed to add that dependencies to our project.

My java project is being done in grade so I assume that in the dependencies
I just need to use this:

  compile "org.jboss.aerogear:unifiedpush-java-client:0.5.0"
  compile "org.jboss.resteasy:resteasy-jackson-provider:2.3.2.Final"

Right?

Then when I try to import the libraries like this:

import org.jboss.aerogear.unifiedpush.JavaSender;
import org.jboss.aerogear.unifiedpush.SenderClient;
import org.jboss.aerogear.unifiedpush.message.MessageResponseCallback;
import org.jboss.aerogear.unifiedpush.message.UnifiedMessage;

that doesn't recognize the org.jboss.aerogear.. Any idea?

Thanks VA



--
View this message in context: http://aerogear-dev.1069024.n5.nabble.com/Unified-Push-Java-client-tp7087.html
Sent from the aerogear-dev mailing list archive at Nabble.com.
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev