Using the sourceControl-Tag I want to use a public repository from google as a dependency within my own project. The repository contains some example java-class which I want to include/use. But since the gradle module/project which providing the neccessary gradle-stuff is located deeper in the file structure of the repository (=> not at root) I struggle on referencing the correct URL. In my settings.gradle I add some lines like that:
sourceControl {
gitRepository("https://github.com/google-ar/arcore-android-sdk.git")) {
producesModule("com.google.ar.core.examples:app")
}
}
The modules which Im interested in can be fined at https://github.com/google-ar/arcore-android-sdk/tree/master/samples/hello_ar_java