张波

对接阿里云私库,采用maven私库方式集成

@@ -57,5 +57,5 @@ dependencies { @@ -57,5 +57,5 @@ dependencies {
57 // implementation 'androidx.appcompat:appcompat:1.6.1' 57 // implementation 'androidx.appcompat:appcompat:1.6.1'
58 implementation "com.google.android.material:material:1.4.0" 58 implementation "com.google.android.material:material:1.4.0"
59 // implementation project(path: ':wdstartup') 59 // implementation project(path: ':wdstartup')
60 - api(name: "wdstartup-debug-v1.0.0", ext: "aar") 60 + implementation 'com.wd:startup:1.0.0'
61 } 61 }
No preview for this file type
@@ -69,6 +69,15 @@ allprojects { @@ -69,6 +69,15 @@ allprojects {
69 } 69 }
70 70
71 flatDir { dirs 'src/main/libs' } 71 flatDir { dirs 'src/main/libs' }
  72 +
  73 + // 快马私库
  74 + maven {
  75 + credentials {
  76 + username '6708d1cf6f4c940bd257c88d'
  77 + password 'Wm51gc4rARyr'
  78 + }
  79 + url 'https://packages.aliyun.com/6708d221eef79c23d7b02189/maven/repo-higom'
  80 + }
72 } 81 }
73 82
74 project.configurations.configureEach { 83 project.configurations.configureEach {
1 plugins { 1 plugins {
2 id 'com.android.library' 2 id 'com.android.library'
3 id 'kotlin-android' 3 id 'kotlin-android'
  4 + id 'maven'
4 } 5 }
5 6
6 android { 7 android {
@@ -42,4 +43,20 @@ android { @@ -42,4 +43,20 @@ android {
42 43
43 dependencies { 44 dependencies {
44 45
  46 +}
  47 +
  48 +uploadArchives {
  49 + repositories {
  50 + mavenDeployer {
  51 + repository(url: "https://packages.aliyun.com/6708d221eef79c23d7b02189/maven/repo-higom/") {
  52 + authentication(userName: '6708d1cf6f4c940bd257c88d', password: 'Wm51gc4rARyr')
  53 + }
  54 + pom.project {
  55 + artifactId 'startup'
  56 + version '1.0.0'
  57 + groupId 'com.wd'
  58 + packaging 'aar'
  59 + }
  60 + }
  61 + }
45 } 62 }