To set dependencies in gradle, you simply configure the project dependencies and or repositories section (see
http://gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html):
repositories {
jcenter()
}
dependencies {
compile 'com.gluonhq:charm-down-common:0.0.1'
androidRuntime 'com.gluonhq:charm-down-android:0.0.1'
desktopRuntime 'com.gluonhq:charm-down-desktop:0.0.1'
}
If you want to use SNAPSHOT versions (for instance 0.0.2-SNAPSHOT), you need to add the following maven repository to the repositories section. The repositories and dependencies look like this then:
repositories {
maven {
}
jcenter()
}
dependencies {
compile 'com.gluonhq:charm-down-common:0.0.2-SNAPSHOT'
androidRuntime 'com.gluonhq:charm-down-android:0.0.2-SNAPSHOT'
desktopRuntime 'com.gluonhq:charm-down-desktop:0.0.2-SNAPSHOT'
}