You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project had been failing to build on my Windows PC with the
following rather cryptic exception:
Caused by: java.lang.StringIndexOutOfBoundsException:
begin 324, end -1, length 5122
I tracked this down to use of hard-coded Unix-style line separator "\n"
in TemplateTask.kt. Using the system's line separator corrected the
problem.
I don't think this is likely to have any impact on non-Windows builds,
as these templates are evidently dependent on the build platform, but
releases already work on Windows, and clearly the build
infrastructure is not Windows.
0 commit comments