Closed dialogics closed 5 years ago
With this "build.gradle":
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "de.dfki.mary:gradle-marytts-voicebuilding-plugin:5.4"
}
}
plugins {
id 'base'
}
allprojects {
group 'de.dfki.mary'
version '6.0-SNAPSHOT'
repositories {
jcenter()
}
}
apply from: 'applicationLogic.gradle'
apply plugin: "de.dfki.mary.voicebuilding-legacy"
the error changes to:
FAILURE: Build failed with an exception.
Where: Build file '/home/aura/marytts/build.gradle' line: 27
What went wrong: A problem occurred evaluating root project 'marytts'.
Failed to apply plugin [class 'de.dfki.mary.voicebuilding.VoicebuildingBasePlugin'] Cannot add task 'run' as a task with that name already exists.
So both "org.gradle.application" and "de.dfki.mary.voicebuilding.VoicebuildingBasePlugin" have a task called "run". Depending on the build order the one build second will fail to build.
I don't understand your use case. The voicebuilding plugin is not intended to be combined with the MaryTTS core in the same project; in fact, the voicebuilding plugin has dependencies on marytts-runtime
etc.
My use case is quite simple, I want to build a voice with MaryTTS. I was able now to compile the plugin standalone, but still lack the understanding how to use it to build a voice. Where can I find some documentation describing the process using the new Gradle-based version of MaryTTS for voice building (v6)? The MaryTTS Wiki still only describes the old way (v5).
Please see the README; feel free to suggest updates if you find it inaccurate or incomplete. =)
The documentation is not trying to be helpful for users which are inexperienced with Gradle. The information from here https://github.com/marytts/gradle-marytts-voicebuilding-plugin/issues/95 should be included as well as a short explanation of the correct Gradle project setup. Also the plugin pretty much only works under Gradle 4.10.2 used for the root project, which is also not documented.
have got success ? pls help me ? thx
Running "./gradlew build" with the plugin included leads to the following error:
"build.gradle" file used:
Running "./gradlew build" without the plugin added terminates without errors.