Skip to content

Commit

Permalink
Merge pull request #4 from tangem/AND-3303_configure_to_upload_nexus
Browse files Browse the repository at this point in the history
AND-3303 upload to nexus
  • Loading branch information
lazutkin-andrey authored Mar 31, 2023
2 parents 5a6ad1d + 80c18bd commit ee836e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions android/trustwalletcore/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ apply plugin: 'maven-publish'
group='com.github.trustwallet'

android {
compileSdkVersion 32
compileSdkVersion 31
ndkVersion '23.1.7779620'
defaultConfig {
minSdkVersion 23
minSdkVersion 21
versionCode 1
versionName "1.0"
externalNativeBuild {
Expand Down
11 changes: 7 additions & 4 deletions android/trustwalletcore/maven-push.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
apply plugin: 'maven-publish'

// TANGEM
def nexusUser = project.property("nexusUser")
def nexusToken = project.property("nexusPass")
// TANGEM
version project.property('version')
group 'com.trustwallet'

Expand Down Expand Up @@ -40,11 +44,10 @@ publishing {

repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/trustwallet/wallet-core")
url = uri("https://nexus.tangem-tech.com/repository/maven-releases")
credentials {
username = System.getenv("GITHUB_USER")
password = System.getenv("GITHUB_TOKEN")
username = nexusUser
password = nexusToken
}
}
}
Expand Down

0 comments on commit ee836e6

Please sign in to comment.