In Groovy we can use a special String construction called slashy String. It allows us to construct String object containing as well quotes as slashes, without the need of escaping them manualy. Let's see:
@Test
void "should construct text with quotes and slashes without escaping need"() {
String slashyText = /The title of this book is "This time" and it's written by unknown writer/;
assertThat(slashyText).isEqualTo("The title of this book is "This time" and it's written by unknown writer")
}