ktaylor
(Ken Taylor)
1
This code used to work in 8.8 but fails in 9.4 with illegal character error for the ‘*’.
startScripts {
classpath = files("%APP_HOME%/lib/*")
}
This is needed for applications with lots of dependencies or you end up with command line length limit errors on Windows. Why did this stop working?
Vampire
(Björn Kautler)
2
1 Like
ktaylor
(Ken Taylor)
3
What is strange is that it seems to work sometimes. I can’t make heads or tails out of it.
ktaylor
(Ken Taylor)
4
Ignore the escape char. I think the forum added that. Escaping the asterisk doesn’t even compile.
Vampire
(Björn Kautler)
5
Yeah, sorry, that was my fault when adding proper formatting to your post I forgot to remove the escape character.
ktaylor
(Ken Taylor)
6
The problem is in the files collection. It cannot be built with a string containing asterisk.