Skip to content

Commit

Permalink
add MAVEN_USER_NAME and PASSWORD (#288)
Browse files Browse the repository at this point in the history
* add MAVEN_USER_NAME and PASSWORD

* Update build.gradle

Co-authored-by: NewBieChan <[email protected]>

---------

Co-authored-by: NewBieChan <[email protected]>
  • Loading branch information
harukitosa and TakayukiCho authored Aug 19, 2024
1 parent 29c5792 commit 6c110a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ configure(subprojects.findAll { !it.name.startsWith("sample_") && !it.name.start
apply from: '../buildscripts/projectMavenAndroid.gradle'
}
ext {
ossrhUsername = System.getenv().getOrDefault("MAVEN_USER_NAME", "")
ossrhPassword = System.getenv().getOrDefault("MAVEN_PASSWORD", "")
afterConfigurate = { Project project ->
project.apply from: '../buildscripts/projectSonatype.gradle'
}
Expand Down

0 comments on commit 6c110a2

Please sign in to comment.