Gradle seems to be a requirement; is that stated anywhere?
JMerrill opened this issue · 2 comments
I'm new to Groovy -- so it was nice to find your koans. But...
The instructions should mention the necessity for installing Gradle. As it wasn't mentioned, I attempted to do things without running "./gradlew KoanN" without any success.
Is "gradlew" always to be installed (per the example) in the parent directory of the main Koans directory?
Thank you.
The gradlew script is a "Gradle Wrapper" that automatically downloads Gradle for you and executes the relevant task/koan. Gradle is then not a prerequisite because it is installed automatically by gradlew.
If you ran it through ./gradlew it should have downloaded Gradle for you. Was there an error message?
"Never mind." When un-zipping I wanted to name the main directory something shorter than "groovykoans-master" and in the process failed to pick up any of the files in that directory. When I had all the files the download started and I expect all will be fine.
I had mis-read ./gradlew as "gradlew in parent directory" (not "in current directory") when diagnosing the issue and thus was not surprised that I had no gradlew anywhere within the groovy or groovy-koans directories.