Gradle git dependencies

I write multi module android projects. One of this module - it is another project in git repository on gitlab. How i can pull it in gradle? I tried gradle-plugin-git-dependencies and maven-git-commit-id-plugin/pull/92

buildscript {
    repositories {
        mavenCentral()
    }
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
classpath 'org.batcha.gradle.plugins:git-dependencies:0.1'
apply from: 'https://raw.github.com/bat-cha/gradle-plugin-git-dependencies/0.1/git-dependencies.gradle'
compile('org.batcha:dummy-project-a:4.2').ext.git = 'https://gitlab.com/Artem_Chekharin/uz.git'
}
}

But they didn't pull project from git. I use Android Studio 0.5.1.

Answers


You have to run initGitDependencies gradle's task first.


Need Your Help

Rails - :_destroy method not working

ruby-on-rails nested-attributes hidden-field destroy

I am trying to use :_destroy method in a nested form, but it just does not work

asp.NET how to change Session Language?

asp.net html css vb.net localization

I am new to this and would like to create a few simple hyperlinks that change the session language parameter.