Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile with Gradle #214

Closed
powder366 opened this issue Sep 27, 2014 · 9 comments
Closed

Does not compile with Gradle #214

powder366 opened this issue Sep 27, 2014 · 9 comments

Comments

@powder366
Copy link

$ gradle assemble
Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties.
Deprecated dynamic property: "artifactId" on "project ':crouton-library'", value: "crouton".

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/code/studio/libraries/Crouton/library/build.gradle' line: 96

  • What went wrong:
    A problem occurred evaluating project ':crouton-library'.

    No such property: repositoryUrl for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer
    Possible solutions: repository

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.749 secs

@powder366
Copy link
Author

FAILURE: Build failed with an exception.

  • What went wrong:
    Unable to retrieve secret key from key ring file '/Users/code/studio/libraries/Crouton/library/foobarbarfoo' as it does not exist
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.664 secs

@powder366
Copy link
Author

Would be nice if things compile out of the box.

@powder366 powder366 reopened this Sep 27, 2014
@keyboardsurfer
Copy link
Owner

Hi.
Why are trying to build Crouton on your own?
Did you read DIY?

@powder366
Copy link
Author

Im trying to compile it as you describe, it does not work out of the box. I think it would be nice if one download the code and type: gradle assemble And then it should compile without doing nothing. Otherwise you spend a day trying to get things working.

@keyboardsurfer
Copy link
Owner

Unless you want to modify Crouton you basically don't need to compile it yourself as it is available on maven central.

@powder366
Copy link
Author

I agree, but still you have a made such a cool library why not make it easy to use and change. I think it should compile out of the box in Studio and from command line without tweaks. I.e. git clone and open in Studio or gradle assemble. I guess I could make the change ;-)

@keyboardsurfer
Copy link
Owner

Thanks. You're right it should be able to build Crouton directly after a clone. Once I find the time I'll update the build files to enable this.

In the meantime: Are you able to build by now?

@VihaanVerma89
Copy link

cloned it and got stuck at the same problem. Just wanted to run and see the samples , anybody knows how to fix this ?

@keyboardsurfer
Copy link
Owner

See README for further info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants