Like nicokosi/pullpito, but implemented in Kotlin in order to discover this language. 🎓
./gradlew build
For a public Github repository, run:
./gradlew run --args "python/peps"
For a private Github repository, add a authentication token:
./gradlew run --args "fakeOrg/fakePrivateRepo $GITHUB_TOKEN"
In order to show the 'usage':
./gradlew run --args="--help"
In order to generate a *nix executable, run:
./generate-executable.sh
An executable file named pullpitoK
should be generated in the current directory. It can then be run:
./pullpitoK
./gradlew spotlessApply
Code inspection is configured on the main
branch. See the sonarcloud.io's dashboard.
In order to inspect the code locally, run:
docker run -d --name sonarqube -p 9000:9000 sonarqube
./gradlew sonarqube --info -Dsonar.login=admin -Dsonar.password=admin
./gradlew useLatestVersions
Check the current version in the Gradle
documentation and run:
./gradlew wrapper --gradle-version $GRADLE_CURRENT_VERSION