AeroGear's Android libraries were built as jar, apklib and aar using Maven and the android-maven-plugin. The project follows the standard Android project layout as opposed to the standard Maven layout so sources will be in /src instead of /src/main/java and can be imported directly into IDE as an Android project.
The core library contains common components and interfaces which the rest of the AeroGear Android libraries depend on.
Until the 2.0 modules are stable and in Maven Central, we will need to build the projects first. Please take a look of the step by step on our website
There are two supported ways of developing apps using AeroGear for Android. Development may be done with Maven and Android Studio. Maven and Android Studio feature good dependency and library management and are far easier to get set up and developing.
Add to your application's build.gradle
file
dependencies {
compile 'org.jboss.aerogear:aerogear-android-core:2.0.0-SNAPSHOT@aar'
//My other dependencies
}
And in your project's build.gradle
files you will need to add:
allprojects {
repositories {
mavenLocal();
//All other repositories
}
}
Include the following dependencies in your project's pom.xml
<dependency>
<groupId>org.jboss.aerogear</groupId>
<artifactId>aerogear-android-core</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>provided</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.jboss.aerogear</groupId>
<artifactId>aerogear-android-core</artifactId>
<version>2.0.0-SNAPSHOT</version>
<type>apklib</type>
</dependency>
For more details about the current release, please consult our documentation.
If you would like to help develop AeroGear you can join our developer's mailing list, join #aerogear on Freenode, or shout at us on Twitter @aerogears.
Also takes some time and skim the contributor guide
Join our user's mailing list for any questions and help! We really hope you enjoy app development with AeroGear!