Implemented Maven repo - Android

Rich

Active Member
3rd Party Module Dev
Joined
Sep 9, 2017
Likes
85
#1
Hi

in my Google Play Games Service module, i had to insert a line into
build.folder\android\gradletemplate\build.gradle
to allow access to the newer Google Android libraries.

old:
Code:
allprojects {
    tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xlint:-deprecation" << "-Xlint:-unchecked"
    }
    repositories {
        jcenter()
    }
}
new:
Code:
allprojects {
    tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xlint:-deprecation" << "-Xlint:-unchecked"
    }
    repositories {
        jcenter()
        maven { url 'https://maven.google.com' }
    }
}
Can the Maven line be added as a permanent feature please so that external module development is easier?

Rich
 
Top Bottom