Modify move maven configs from .gradle to .maven directory and make it to json file

This commit is contained in:
2023-04-15 00:55:35 +08:00
parent e610fd74e3
commit 082fa898df
3 changed files with 14 additions and 16 deletions

View File

@@ -78,8 +78,9 @@ publishing {
name = rootProject.ext.ossName
url = rootProject.ext.ossUrl
credentials {
username = getFileContent("OSSRH_USERNAME")
password = getFileContent("OSSRH_PASSWORD")
def configs = getMavenCredentials(projectDir)
username = configs.username
password = configs.password
}
}
}