spinscale / cookiecutter-elasticsearch-ingest-processor

A cookiecutter template for an elasticsearch ingest processor plugin
47 stars 21 forks source link

Processor's description having a quote corrupts the gradle build file #11

Closed raf64flo closed 5 years ago

raf64flo commented 5 years ago

How to reproduce:

$ cookiecutter gh:spinscale/cookiecutter-elasticsearch-ingest-processor
Do you want to re-use the existing version? [yes]: yes
processor_type [awesome]: test-quote
package_dir [test/quote]: 
description [Ingest processor that is doing something awesome]: A description having a quote's problem within it.
developer_name [YOUR REAL NAME]: My name is
elasticsearch_version [7.2.1]: 

$ cd ingest-test-quote/

$ ./gradlew clean

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/ingest-test-quote/build.gradle' line: 27

* What went wrong:
Could not compile build file '/tmp/ingest-test-quote/build.gradle'.
> startup failed:
  build file '/tmp/ingest-test-quote/build.gradle': 27: unexpected char: ''' @ line 27, column 65.
     g a quote's problem within it.'
                                   ^

  1 error

* 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

BUILD FAILED in 0s

Workarounds: