weishirongzhen / flutter_trust_wallet_core

MIT License
88 stars 33 forks source link

Could not get resource 'https://maven.pkg.github.com/trustwallet/wallet-core/com/trustwallet/wallet-core/2.7.2/wallet-core-2.7.2.pom' #44

Closed kayson3 closed 2 years ago

kayson3 commented 2 years ago

Could not get resource 'https://maven.pkg.github.com/trustwallet/wallet-core/com/trustwallet/wallet-core/2.7.2/wallet-core-2.7.2.pom'.

Username must not be null

even after adding this:

maven { url = uri("https://maven.pkg.github.com/trustwallet/wallet-core") credentials { username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") password = project.findProperty("gpr.key") ?: System.getenv("TOKEN") } }

weishirongzhen commented 2 years ago

Set yourself gpr info or env variable refer to https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry#installing-a-package

TejaDroid commented 2 years ago

@kayson3 Hope you resolved your issue with Trustwallet,

If not then just replace your actual github user name and app access token in credentials as

maven {
    url = uri("https://maven.pkg.github.com/trustwallet/wallet-core")
    credentials {
        username = "<github account user name>"
        password = "<github app access token generated from app settings>"
    }
}
kayson3 commented 1 year ago

Yes I did, Thanks

On Tue, Jun 21, 2022, 6:46 AM Tejas Chauhan @.***> wrote:

@kayson3 https://github.com/kayson3 Hope you resolved your issue with Trustwallet,

If not then just replace your actual github user name and app access token in credentials as

maven { url = uri("https://maven.pkg.github.com/trustwallet/wallet-core") credentials { username = "" password = "" } }

— Reply to this email directly, view it on GitHub https://github.com/weishirongzhen/flutter_trust_wallet_core/issues/44#issuecomment-1161291908, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWDZ5WWFFYPKXE7YTTZ2QDVQFJKJANCNFSM5T7DZ34Q . You are receiving this because you were mentioned.Message ID: @.***>