张波

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

... ... @@ -57,5 +57,5 @@ dependencies {
// implementation 'androidx.appcompat:appcompat:1.6.1'
implementation "com.google.android.material:material:1.4.0"
// implementation project(path: ':wdstartup')
api(name: "wdstartup-debug-v1.0.0", ext: "aar")
implementation 'com.wd:startup:1.0.0'
}
\ No newline at end of file
... ...
No preview for this file type
... ... @@ -69,6 +69,15 @@ allprojects {
}
flatDir { dirs 'src/main/libs' }
// 快马私库
maven {
credentials {
username '6708d1cf6f4c940bd257c88d'
password 'Wm51gc4rARyr'
}
url 'https://packages.aliyun.com/6708d221eef79c23d7b02189/maven/repo-higom'
}
}
project.configurations.configureEach {
... ...
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven'
}
android {
... ... @@ -42,4 +43,20 @@ android {
dependencies {
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "https://packages.aliyun.com/6708d221eef79c23d7b02189/maven/repo-higom/") {
authentication(userName: '6708d1cf6f4c940bd257c88d', password: 'Wm51gc4rARyr')
}
pom.project {
artifactId 'startup'
version '1.0.0'
groupId 'com.wd'
packaging 'aar'
}
}
}
}
\ No newline at end of file
... ...