张波

添加到阿里云私有库。

@@ -56,6 +56,5 @@ repositories { @@ -56,6 +56,5 @@ repositories {
56 dependencies { 56 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: ':wdlog')  
60 - api(name: "wdlog-debug-v1.0.0", ext: "aar") 59 + implementation 'com.wd:log:1.0.0'
61 } 60 }
No preview for this file type
@@ -6,6 +6,8 @@ import android.os.Bundle; @@ -6,6 +6,8 @@ import android.os.Bundle;
6 6
7 import androidx.annotation.Nullable; 7 import androidx.annotation.Nullable;
8 8
  9 +import com.wd.base.log.Logger;
  10 +
9 /** 11 /**
10 * @ProjectName: PeopleDailyVideo 12 * @ProjectName: PeopleDailyVideo
11 * @Package: com.people.displayui.main 13 * @Package: com.people.displayui.main
@@ -24,5 +26,6 @@ public class MainActivity extends Activity { @@ -24,5 +26,6 @@ public class MainActivity extends Activity {
24 protected void onCreate(@Nullable Bundle savedInstanceState) { 26 protected void onCreate(@Nullable Bundle savedInstanceState) {
25 super.onCreate(savedInstanceState); 27 super.onCreate(savedInstanceState);
26 // 直接进入首页 28 // 直接进入首页
  29 + Logger.d("MainActivity onCreate");
27 } 30 }
28 } 31 }
@@ -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 implementation 'androidx.annotation:annotation:1.8.2' 45 implementation 'androidx.annotation:annotation:1.8.2'
  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 'log'
  56 + version '1.0.1'
  57 + groupId 'com.wd'
  58 + packaging 'aar'
  59 + }
  60 + }
  61 + }
45 } 62 }