feat: 自动化发布到Maven
This commit is contained in:
parent
5f109c09de
commit
59bca84183
10
Readme.md
10
Readme.md
|
|
@ -7,25 +7,25 @@ Room 数据持久化;Worker管理上传任务,初次上传+重试共5次,
|
|||
| release | https://track.23544.com | 否 |
|
||||
|
||||
### 使用
|
||||
#### 1.0.5
|
||||
#### 1.0.6
|
||||
```kotlin
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven {
|
||||
url = uri("http://192.168.2.14:8081/repository/maven-releases/")
|
||||
url = uri("https://nexus.23544.com/repository/maven-releases/")
|
||||
isAllowInsecureProtocol = true
|
||||
credentials {
|
||||
username = "admin"
|
||||
password = "qwer1234.."
|
||||
password = "j7EgYb2ejMCt5aYw"
|
||||
}
|
||||
}
|
||||
maven {
|
||||
url = uri("http://192.168.2.14:8081/repository/maven-snapshots/")
|
||||
url = uri("https://nexus.23544.com/repository/maven-snapshots/")
|
||||
isAllowInsecureProtocol = true
|
||||
credentials {
|
||||
username = "admin"
|
||||
password = "qwer1234.."
|
||||
password = "j7EgYb2ejMCt5aYw"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@ kotlin.code.style=official
|
|||
# resources declared in the library itself and none from the library's dependencies,
|
||||
# thereby reducing the size of the R class for that library
|
||||
android.nonTransitiveRClass=true
|
||||
mavenReleaseRepoUrl=http://192.168.2.14:8081/repository/maven-releases/
|
||||
mavenDebugRepoUrl=http://192.168.2.14:8081/repository/maven-snapshots/
|
||||
mavenReleaseRepoUrl=https://nexus.23544.com/repository/maven-releases/
|
||||
mavenDebugRepoUrl=http://nexus.23544.com/repository/maven-snapshots/
|
||||
mavenUsername=admin
|
||||
mavenPassword=qwer1234..
|
||||
mavenPassword=j7EgYb2ejMCt5aYw
|
||||
baseReleaseUrl=https://track.23544.com
|
||||
baseDebugUrl=http://192.168.2.7:18828
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ plugins {
|
|||
id("maven-publish")
|
||||
}
|
||||
group = "com.yuanxuan"
|
||||
version = "1.0.5"
|
||||
version = "1.0.6"
|
||||
|
||||
|
||||
val baseReleaseUrl: Provider<String> = providers.gradleProperty("baseReleaseUrl")
|
||||
|
|
|
|||
Loading…
Reference in New Issue