Etymology
Today it means: In an unpleasing manner. Full definition →
From unpleasing + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.