Closed timobaumann closed 5 years ago
Oops. Looks there's something wrong with the buildfile for the Alexa plugin: https://jitpack.io/com/github/dialogos-project/dialogos-alexa-plugin/2.1.0/build.log
I'll look into it.
I've contained the buildfile bug a bit. Now it fails differently:
gradle publishToMavenLocal
(which is called by the make-release script).gradle install
(which is what Jitpack calls).The failure of gradle install
can be reproduced locally, i.e. does not require Jitpack to be reproduced. I would be grateful for anyone who can find the problem - as far as I can tell, the buildfile is basically the same as for other plugins, which compile correctly.
Here's the error message:
koller@dhcp104-211 ~/D/w/d/dialogos-alexa-plugin> ./gradlew install
> Task :install FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':install'.
> Could not publish configuration 'archives'
> Could not write to file '/Users/koller/Documents/workspace/dialogos/dialogos-alexa-plugin/build/poms/pom-default.xml'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 0s
7 actionable tasks: 1 executed, 6 up-to-date
I'll have a look.
Ok, it seems like it works fine when removing the runtime
dependency on dialogos. I don't know why it was there in the first place as there is already a compile
dependency which implies a runtime
dependency.
@alexanderkoller I don't know how to test the plugin & don't have rights to the alexa repository, so can you test this by removing the following?
runtime(group:'com.github.dialogos-project', name:'dialogos', version:'2.1.0') {
exclude module: 'DialogOS_SphinxPlugin'
exclude module: 'DialogOS_MaryTTSPlugin'
exclude module: 'TTSClient'
exclude module: 'SpeechClient'
exclude module: 'RecognizerClient'
exclude module: 'com.clt.audio'
}
That fixed it, thanks.
works nicely when I uncomment the alexa-thing. Is the server only available internally?