Implemented Maven repo - Android

Rich

Active Member
3rd Party Module Dev
Joined
Sep 9, 2017
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
 

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Location
Germany
Sure, if it is not causing problems with the rest, then yes. Will test this once I find time.
 
Top Bottom