Chris Smith
9eddde47a9
Fix createVersionConfig breaking in some cases.
We need to have built the classes so the directories exist.
Seems like this doesn't work on completely clean checkouts.
9年前
Chris Smith
f200ba2f81
Copy DMDirc jars into dist.
This copies the build/libs/client-<version>.jar jar into
dist/DMDirc.jar.
9年前
Chris Smith
ac4ed3fc91
Tidy up build file after submodule removal.
- Remove allprojects block, as there's now only 1 project.
- Reduce cache time for dynamic artifacts in line with plugins.
9年前
Chris Smith
75d74230aa
Support for publishing builds from gradle.
9年前
Chris Smith
1655071347
Add a build config for bundled plugins.
This is unused atm, but will be how the build script pulls plugins
into the jar.
Change-Id: Id777c8040a131a1171f03c7abc404cd6e03591f7
Reviewed-on: http://gerrit.dmdirc.com/4072
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
476f37e241
Add Main-Class in the manifest.
It's kinda useful.
Change-Id: Idc283d5ed3e96165f63708f02f7187779ea18399
Reviewed-on: http://gerrit.dmdirc.com/4061
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
2a00c29d2a
Add a bit more info to version.config.
Change-Id: Ica562e91544fe06a4dc83e07034bdd03ccf6525f
Reviewed-on: http://gerrit.dmdirc.com/4059
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
7bd3e85c9a
Don't die if a version.config already exists...
Change-Id: Ia97e090fa7a5cf46a77eee7bbb1d5ecea9b877fc
Reviewed-on: http://gerrit.dmdirc.com/4038
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
1c243b9602
Also drop version.config to the build dir.
This allows tests not running against a jar to find the config
(and thus initialise IdentityManagers).
Change-Id: Ief27b9dfcb2451043f013a4aebba3ad51203ed4c
Reviewed-on: http://gerrit.dmdirc.com/4036
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
038e3dc8f5
Support for building most of a DMDirc jar.
Gradle can now write a version.config file properly and dumps
bundled deps into the main jar.
It doesn't yet bundle plugins, default settings, or write the
info for those to the version.config.
Change-Id: I206ff08ca2dda0aaed601a1f9f075a983eae602c
Reviewed-on: http://gerrit.dmdirc.com/4035
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
7e2d7007c9
Add snapshot dependencies instead of project deps.
Change-Id: Ied9a354667e9a21f9f9601f35cff808837424fb6
Reviewed-on: http://gerrit.dmdirc.com/4027
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
0395c28966
Explicitly set versions here too.
Changes to handle MBassador upgrade.
Change-Id: I9e1fe2b0a858c378c4d4340db50ec5ade45cbb10
Reviewed-on: http://gerrit.dmdirc.com/4004
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Greg Holmes
3fac8a376f
Add test for YamlAutoCommandStore
Change-Id: I62a9d05c94a3e2d31466a04c775f3afbddb09cdc
Reviewed-on: http://gerrit.dmdirc.com/3995
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9年前
Chris Smith
954774c65e
Add findbugs reports, don't fail the build on them.
Change-Id: I9e52ff2493bf33e8f5e61f027e15505dc407d2cb
Reviewed-on: http://gerrit.dmdirc.com/3944
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
6ae693893d
Enable PMD in gradle + apply fixes.
Change-Id: I3665cac8af833da793ca418953d934cc3a333459
Depends-On: I348b37a14097439f8a56b0a671794410e46201ca
Depends-On: Ifc4aa601de14ca2526646f499f60329ed7c5935e
Reviewed-on: http://gerrit.dmdirc.com/3939
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
bbfad60371
Move test resources to test-res.
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
9年前
Chris Smith
bb14cb445c
Gradle version bump
Change-Id: I3083c2e0ffc75019f752966e5a95dab138c82c3d
Reviewed-on: http://gerrit.dmdirc.com/3898
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
b0445d0090
Add gradle wrapper
Change-Id: Iad5763d7d4baac0b25fafafced0f0483fe8b8329
Reviewed-on: http://gerrit.dmdirc.com/3856
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
c8b4f4e65d
Remove some duplication, add test deps.
Change-Id: Ia77233d3cace95468258797ac88fef9f4ed317ca
Reviewed-on: http://gerrit.dmdirc.com/3855
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
d22c8f0d86
Initial work on a client gradle build script
Change-Id: If8f1b3f0e2df28cfa008e604ed045e186a6b1561
Reviewed-on: http://gerrit.dmdirc.com/3852
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前