Fix pointless array creation.

Change-Id: I7e4e6e86c02dce066eb4a739259bbeef9df8620e
Reviewed-on: http://gerrit.dmdirc.com/3879
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Remove some redundant casts.

Change-Id: I7b4c7348eb44d731347546105a3a6c66fb132aa8
Reviewed-on: http://gerrit.dmdirc.com/3882
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Use auto closeables.

Change-Id: Ied0c613f8dd3edfbe43abedcdfcf95e1138ad04c
Reviewed-on: http://gerrit.dmdirc.com/3885
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Remove pointless/incorrect dagger annotations

Change-Id: Ie5daf5da494cf70c49081351c1b01bdb7dbaeef5
Reviewed-on: http://gerrit.dmdirc.com/3886
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Add test dependencies

Change-Id: Ie5281df14a0f27067e62a7b9578c1b3c1271c46c
Reviewed-on: http://gerrit.dmdirc.com/3890
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Don't depend on core tests.

Change-Id: I82192e3f01868d3a24aa774a20de831209555407
Reviewed-on: http://gerrit.dmdirc.com/3891
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Fail the build if gradle fails...

Change-Id: Ifdea3df10a6a150fc5d3af5dd73a681c5aac7ce3
Reviewed-on: http://gerrit.dmdirc.com/3887
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Serverlistdialog depends on serverlists now...

Change-Id: I4e54bcce85a1e81c5c1bab33154848d5552271c8
Reviewed-on: http://gerrit.dmdirc.com/3888
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Use the right compile target.

Change-Id: Ic0d37dd6504a431aa2c8d1c9c084198ce7685265
Reviewed-on: http://gerrit.dmdirc.com/3889
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>