fix for gapbuffer getdata and gradle test tasks