JcMinarro / RoundKornerLayouts

Round Korner Layouts is an Android library create to build a layout with the round corners
https://jcminarro.github.io/RoundKornerLayouts/
Apache License 2.0
202 stars 36 forks source link

can't import #7

Closed AndroidDeveloperLB closed 6 years ago

AndroidDeveloperLB commented 6 years ago

I get this: image

JcMinarro commented 6 years ago

Hello @AndroidDeveloperLB the BINTRAY_API_KEY and BINTRAY_USER properties are used to publish the library to Bintray and, of course, they are privates. You can add someone to your global gradle.properties (It is in your gradle home) with the following signature:

# Bintray credential
BINTRAY_API_KEY=some_key
BINTRAY_USER=some_user
AndroidDeveloperLB commented 6 years ago

I don't understand. Why can't it just work out of the box? And what do you suggest exactly to do to make it work?

JcMinarro commented 6 years ago

BINTRY_API_KEY and BINTRAY_USER are some properties used to publish the library to the bintray repository, to be able to download it with maven. Those properties are used in the build.gradle file and it is not able to find them when you are trying to synchronize the project. To fix it you need to provide those properties, and they are declared into the gradle.properties file

AndroidDeveloperLB commented 6 years ago

Can you please fix it here instead? It really is annoying when one imports a sample, and then need to investigate what is needed to make it work. It should be working from the start...

JcMinarro commented 6 years ago

Ok, I have added some default value to the gradle.properties to be able to build it without need to configure anything

AndroidDeveloperLB commented 6 years ago

Thank you!