Commit b56315d552f4568da50223cd866a23df8c69e0b5

Authored by 朱显松
1 parent ef93fa9f

1.迁移至公司内网Maven仓库

Showing 2 changed files with 10 additions and 4 deletions
build.gradle
@@ -5,6 +5,9 @@ buildscript { @@ -5,6 +5,9 @@ buildscript {
5 google() 5 google()
6 jcenter() 6 jcenter()
7 maven { url 'https://dl.bintray.com/umsdk/release' } 7 maven { url 'https://dl.bintray.com/umsdk/release' }
  8 + maven { url 'https://maven.aliyun.com/repository/central' }
  9 + maven { url 'https://maven.aliyun.com/repository/public' }
  10 + maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
8 } 11 }
9 dependencies { 12 dependencies {
10 classpath 'com.android.tools.build:gradle:4.0.1' 13 classpath 'com.android.tools.build:gradle:4.0.1'
@@ -34,6 +37,9 @@ allprojects { @@ -34,6 +37,9 @@ allprojects {
34 url 'https://dl.bintray.com/granzon/cnliveLibs' 37 url 'https://dl.bintray.com/granzon/cnliveLibs'
35 } 38 }
36 maven { url 'https://dl.bintray.com/umsdk/release' } 39 maven { url 'https://dl.bintray.com/umsdk/release' }
  40 + maven { url 'https://maven.aliyun.com/repository/central' }
  41 + maven { url 'https://maven.aliyun.com/repository/public' }
  42 + maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
37 } 43 }
38 } 44 }
39 45
config.gradle
@@ -6,11 +6,11 @@ ext { @@ -6,11 +6,11 @@ ext {
6 //Nexus 发布配置 6 //Nexus 发布配置
7 maven = [ 7 maven = [
8 //发布版地址(暂未使用) 8 //发布版地址(暂未使用)
9 - mavenUrl : "http://android.nexus.cnlive.com/repository/cnlive/", 9 + mavenUrl : "http://172.16.3.170:8081/repository/cnlive/",
10 //快照版地址(暂未使用) 10 //快照版地址(暂未使用)
11 - mavenDevUrl : "http://android.nexus.cnlive.com/repository/cnlive-snapshot/", 11 + mavenDevUrl : "http://172.16.3.170:8081/repository/cnlive-snapshot/",
12 //混合版地址 12 //混合版地址
13 - mavenMixedUrl : "http://android.nexus.cnlive.com/repository/cnlive-mixed/", 13 + mavenMixedUrl : "http://172.16.3.170:8081/repository/cnlive-mixed/",
14 //发布账号(单独分配) 14 //发布账号(单独分配)
15 mavenUserName: "developer", 15 mavenUserName: "developer",
16 mavenPwd : "android_2019" 16 mavenPwd : "android_2019"
@@ -21,7 +21,7 @@ ext { @@ -21,7 +21,7 @@ ext {
21 //编译方式 21 //编译方式
22 debug : false, 22 debug : false,
23 //版本号 23 //版本号
24 - version: "1.1.6.6", 24 + version: "1.1.6.7",
25 //Lib库前缀 25 //Lib库前缀
26 packeg : "com.cnlive.media", 26 packeg : "com.cnlive.media",
27 //Lib库名称 27 //Lib库名称