Skip to content

Commit

Permalink
Merge pull request apache#305 from alibaba/android-gradle-offline
Browse files Browse the repository at this point in the history
Android gradle offline
  • Loading branch information
atomtong committed May 18, 2016
2 parents a6dccc7 + 6736fda commit 011577e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:support-annotations:23.1.1'
compile 'com.google.android.gms:play-services-appindexing:8.1.0'
//compile 'com.google.android.gms:play-services-appindexing:8.1.0'
}
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@
ATTENTION: This was auto-generated to add Google Play services to your project for
App Indexing. See https://g.co/AppIndexing/AndroidStudio for more information.
-->
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
<!--<meta-data-->
<!--android:name="com.google.android.gms.version"-->
<!--android:value="@integer/google_play_services_version"/>-->

<activity
android:name=".SplashActivity"
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
Expand All @@ -11,6 +12,7 @@ buildscript {

allprojects {
repositories {
mavenCentral()
jcenter()
}
}
Expand Down
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
distributionUrl=http://gw.alicdn.com/bao/uploaded/LB1J5WLJVXXXXcMXpXXXXXXXXXX.zip
#distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
#distributionUrl=gradle-2.10-bin.zip

0 comments on commit 011577e

Please sign in to comment.