To build you will need:
To build everything using Gradle, use the following command (./gradlew
on Unix-like systems):
Note
The gradlew command automatically downloads the correct Gradle version if needed, you do not need to download it first.This will generate a distribution similar to the zip you can download on the Groovy download page.
To build everything and launch unit tests, use:
If you want to launch one unit test, use this. <TestClassName> is like groovy.GroovyMethodsTest
.
gradlew :test --tests <TestClassName>
To build from IntelliJ IDEA:
Then open the generated project in IDEA.
To build from Eclipse:
Then open the generated project and the generated subprojects in Eclipse. But be aware that Eclipse tends to be more limited in its ability to reproduce a Gradle build structure. The generated project files may contain a circular dependency which may or may not prevent Eclipse from using them. It depends on the Eclipse version, if this is an issue or not.
To build the documentation (Groovy Language Documentation):
All code samples of the documentation guide are pulled from actual test cases. To run a single documentation test case, take for example src/spec/test/semantics/PowerAssertTest.groovy
gradlew testSinglePowerAssertTest
Note
The omission of package name: class issemantics.PowerAssertTest
but only PowerAssertTest
is added to testSingle
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4