Add custom maven repository to Android project build.gradle file.
Answered
Is there any way to add a new repository (eg. UrlBasedRepositoryModel() ) to a RepositoriesModel?
Was able to add a dependency using DependenciesModel.addArtifact() but similar method is not available in RepositoriesModel.
Please sign in to leave a comment.
You're right, there is no such an API within the Android gradle parser. You can request the feature at the Android Studio bug tracker.