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

No such property: scalaVersion for class: org.gradle.api.internal.project.DefaultProject_Decorated #8

Closed
ibalashov opened this issue Aug 16, 2014 · 2 comments

Comments

@ibalashov
Copy link

Caused by: groovy.lang.MissingPropertyException: No such property: scalaVersion for class: org.gradle.api.internal.project.DefaultProject_Decorated

Could be the problem with gradle installation?

gradle -v
------------------------------------------------------------
Gradle 2.0
------------------------------------------------------------

Build time:   2014-07-01 07:45:34 UTC
Build number: none
Revision:     b6ead6fa452dfdadec484059191eb641d817226c

Groovy:       2.3.3
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.7.0_67 (Oracle Corporation 24.65-b04)
OS:           Mac OS X 10.9.4 x86_64

@ibalashov
Copy link
Author

Solved by paying attention and running ./gradlew, instead of just gradle

IMO shell scripts go better with .sh suffix, less confusion

@joestein
Copy link
Contributor

yup, that ./gradelw is becoming pretty standard for a bunch of related projects now, I wouldn't want to change it without the others also changing it so it is not confusing when compared to them. Thanks!

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

No branches or pull requests

2 participants