Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmuschko/init-script-cmd
https://github.com/bmuschko/init-script-cmd
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bmuschko/init-script-cmd
- Owner: bmuschko
- Created: 2014-11-18T17:10:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-18T17:16:16.000Z (almost 10 years ago)
- Last Synced: 2023-03-11T10:16:36.324Z (over 1 year ago)
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Applying an init script to a project with buildSrc
## Observed behavior
### Providing an init script in Gradle user home
Copying the init script `init.gradle` to the `/init.d` correctly applies the repository Maven Central to all projects of the build including `buildSrc`.
./gradlew tasks
### Providing an init script from the command line
Using the command line option `-I` instead does not show the same behavior. It seems like the logic of the initialization script does not apply to the `buildSrc` project. As a result, the build fails.
./gradlew tasks -I init.gradle