Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bmuschko/init-script-cmd


https://github.com/bmuschko/init-script-cmd

Last synced: 7 days ago
JSON representation

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