To test:
- Clone benjamin-shen/starts
- Run
git checkout starts-gradle-plugin - Run
mvn clean installin the root directory - Run
cd starts-gradle-pluginand then./gradlew publishToMavenLocal - Clone benjamin-shen/starts-test-gradle (this repo)
- Try out the Gradle tasks implemented in
starts/starts-gradle-plugin
Example commands:
./gradlew startsHelp- observe help message
./gradlew tasks- observe list of Starts tasks
./gradlew help --task startsClean- observe details about the
startsCleantask, including available options
- observe details about the
./gradlew starts, followed by./gradlew startsClean- if there are artifacts in
.starts/, it should be deleted after this task runs
- if there are artifacts in
./gradlew starts, followed by code changes, followed by./gradlew startsDiff- shows the changed classes
Core functionality of STARTS:
- Run
./gradlew startsCleanif there are any leftover artifacts - Run
./gradlew startsand make sure all tests were run - Run
./gradlew startsagain and make sure no tests were run - Change something in the code that will affect a dependent test
- Run
./gradlew startsagain and make sure the test was run