⬅️ **[[$-Tools|Tools]]**
***
# Gradle
## Inhalt
- [Wokring with Files](https://docs.gradle.org/current/userguide/working_with_files.html#sec:copying_files)
- [Sync](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Sync.html)
- [Gralde SSH](https://gradle-ssh-plugin.github.io/docs/#_transfer_a_file_or_directory)
- [Exec](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Exec.html)
- [Delete](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Delete.html)
## Gradle with Docker
**docker-compose.yml:**
- used with Docker Toolbox (shard folders in VirtualBox)
- start it and then execute command or go into the Linux Shell
```yaml
# docker run --rm -it --volume="/cygwinHome/git/jekyll-tobi:/home/gradle/jekyll-tobi" --volume="/iCloudDrive:/home/gradle/iCloudDrive" --volume="/cygwinHome/.ssh:/home/gradle/.ssh" -u root -w /home/gradle/jekyll-tobi gradle gradle tasks
# docker exec -it jekyllGradle gradle tasks
# docker exec -it jekyllGradle /bin/bash
gradle:
image: gradle
container_name: jekyllGradle
command: /bin/bash
volumes:
- /cygwinHome/git/jekyll-tobi:/home/gradle/jekyll-tobi
- /iCloudDrive:/home/gradle/iCloudDrive
- /cygwinHome/.ssh:/home/gradle/.ssh
working_dir: /home/gradle/jekyll-tobi
stdin_open: true
tty: true
```
#
***
Related:
- [[$-Software|Software]]
- [[$-Automatisierung]]