Browse Source

@task: update build.gradle http to https

bai 3 years ago
parent
commit
ea50dec7de
1 changed files with 6 additions and 7 deletions
  1. 6 7
      build.gradle

+ 6 - 7
build.gradle

@@ -27,15 +27,14 @@ version SAGA_ANDROID_VERSION
 buildscript {
     repositories {
 
-        maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
+        maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
         maven { url 'https://maven.aliyun.com/repository/google' }
-        maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
+        maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
         mavenCentral()
         jcenter()
         google()
 
 
-
     }
     dependencies {
         classpath group: 'com.android.tools.build', name: 'gradle', version: GRADLE_VERSION
@@ -48,17 +47,17 @@ buildscript {
 allprojects {
     repositories {
         mavenCentral()
-        maven{ url MAVEN_REPO_PUBLIC_URL}
-        maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
+        maven { url MAVEN_REPO_PUBLIC_URL }
+        maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
         maven { url 'https://maven.aliyun.com/repository/google' }
-        maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
+        maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
 
         jcenter()
         google()
 
     }
     tasks.withType(Javadoc) {
-        options{
+        options {
             encoding 'UTF-8'
             charSet 'UTF-8'
             links 'http://docs.oracle.com/javase/8/docs/api'