Make the ActionAliasMigrator use a Path, and add a basic
unit test. Need to make ConfigFile use paths to do anything
sensible.
Also refresh gradle libs in idea so JimFs shows up.
Change-Id: I0cb2692083d0fe117b91edce63d8417ddd74e288
Reviewed-on: http://gerrit.dmdirc.com/3999
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
This breaks ant testing. I plan to change CI to use gradle then
remove the ant rules.
Change-Id: I38ca681b8742f316fc94ebfd8312b1bf4632354f
Reviewed-on: http://gerrit.dmdirc.com/3935
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Force project name to 'dmdirc'. Think this was the cause of all
the nonsense.
Also add plugins in the root project, so gradle knows about all
of them (for tests etc).
Change-Id: Ic828cabe97040d2ba6cae9336392525ee6bad47c
Reviewed-on: http://gerrit.dmdirc.com/3934
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
- Stop it thinking "modules" is a valid module.
- Remove some paths that don't exist.
- Apply the auto-suggested gradle tweaks.
- Let it duplicate the VCS config lots, because it's quite insistent.
Change-Id: Ia8eb45562293fa6520e590e2bb1af3df470ce63d
Reviewed-on: http://gerrit.dmdirc.com/3914
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
This adds a DMDirc run configuration, which will generate a
version.config in the right place.
This is enough to get a client working, but probably isn't
builiding new plugins yet.
Change-Id: I4a2c20ea23164c7f71200e9b767d5dc3507945a7
Reviewed-on: http://gerrit.dmdirc.com/3848
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Inspections are fun. A lot of them are things PMD moans about already,
or things we're actively avoiding (pointless @inheritDocs!)
Change-Id: I785fbdce1bf468159ba55747642dfd2d7acd216e
Reviewed-on: http://gerrit.dmdirc.com/3804
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
If post() is used without the result being dereferenced, flag it
as a warning.
Change-Id: Id536f2cb5c31de9f13008d0519069965637ae754
Reviewed-on: http://gerrit.dmdirc.com/3781
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
This replaces the idea libraries with jar directories.
Also creates a 'bundled' lib directory in the main client, which
contains the jars that end up bundled with DMDirc. This allows
the plugins project to cleanly depend on these without depending
on any other dependencies the client has.
Change-Id: I929f402ebef5344dbc133b9a9828868e4f8c2dcd
Reviewed-on: http://gerrit.dmdirc.com/3735
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Add a run configuration for all tests.
Ignore file created by atlassian plugins.
Change-Id: I26409523cbd5acf8670cfd6788eef04b2866e913
Reviewed-on: http://gerrit.dmdirc.com/3701
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Exclude the modules directory, this makes them show up as top-level entries.
Change-Id: Ied2ac11d2b5f8dee25808ffaec95052051e875f9
Reviewed-on: http://gerrit.dmdirc.com/3700
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Make plugins its own module, exclude a load of junk.
Change-Id: I92e2665c42f26bc7b5e87b6e7e2ff43581805f6b
Reviewed-on: http://gerrit.dmdirc.com/3680
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>