Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m2ci-msp/gradle-praat-wrapper-plugin
Praat provider for Gradle
https://github.com/m2ci-msp/gradle-praat-wrapper-plugin
Last synced: about 1 month ago
JSON representation
Praat provider for Gradle
- Host: GitHub
- URL: https://github.com/m2ci-msp/gradle-praat-wrapper-plugin
- Owner: m2ci-msp
- License: gpl-3.0
- Created: 2017-02-16T16:14:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-04T19:24:49.000Z (11 months ago)
- Last Synced: 2024-02-04T21:53:20.614Z (11 months ago)
- Language: Groovy
- Homepage:
- Size: 407 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![CI](https://github.com/m2ci-msp/gradle-praat-wrapper-plugin/actions/workflows/main.yml/badge.svg)](https://github.com/m2ci-msp/gradle-praat-wrapper-plugin/actions/workflows/main.yml)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)Gradle Praat Wrapper Plugin
===========================A low-level Gradle plugin that provides [Praat](http://praat.org/) v6.0.30 as a custom dependency
Usage
-----See https://plugins.gradle.org/plugin/io.github.m2ci-msp.praat-wrapper
Note that Gradle v6.2 or higher is required.
Praat task
----------Applying this plugin creates a `praat` task that downloads and extracts the Praat binary for the current OS into `$buildDir/praat`.
This path is also provided as the `praat.binary` property.
It can then be used in other tasks.Note that the downloaded Praat package is cached by Gradle as a dependency.
### Example
```
$ cat > build.gradle << EOFplugins {
id "io.github.m2ci-msp.praat-wrapper" version "0.7.0"
}task runPraatScript(type: Exec) {
dependsOn praat
commandLine praat.binary, '--run', 'script.praat'
doFirst {
file('script.praat').text = "echo This is Praat 'praatVersion\$' running via Gradle $gradle.gradleVersion"
}
}EOF
$ gradle -q runPraatScript
This is Praat 6.0.30 running via Gradle 6.3
```