Chris Smith
89cbd10f11
Bump gradle version.
9 年前
Greg Holmes
8933a842bd
Bit of tidying and add Fatal errors.
9 年前
Greg Holmes
6518193f7d
Initial work on Logback logging.
9 年前
Chris Smith
6661be0280
Use mockito-core not -all.
9 年前
Greg Holmes
3e63545efb
Add an explicit dependency on slf4j-api
9 年前
Greg Holmes
70e2b04fd1
Switch to J8 Base64.
9 年前
Chris Smith
9bed892dd6
Use new syntax for core plugins too.
9 年前
Chris Smith
254b69cf26
Use new plugin syntax.
9 年前
Chris Smith
4abab876eb
Bump raven to 6.0.0.
No major changes, just a version bump for the Sentry protocol
(for Sentry 7) and removal of UDP connections which we never
used.
9 年前
Chris Smith
81302cfa9e
Move gradle scripts into gradle/
9 年前
Chris Smith
e39aafb254
Add support for coverage + coveralls.io.
9 年前
Chris Smith
0486559249
Use git-version plugin.
9 年前
Chris Smith
15ef6850c8
Add hints to tell idea where generated sources are
This doesn't seem to actually mark them as generated, but they're
marked as source/test dirs which stops the annoying errors every
time you sync.
9 年前
Chris Smith
3be80e6504
Rewrite the entire git-version thingy.
9 年前
Chris Smith
8d091ad2f7
Bump autovalue.
9 年前
Chris Smith
6a658d40bc
Split up client build file.
Makes it a bit less messy, and easier to find the right bits.
9 年前
Chris Smith
66dc04191b
Remove defunct getCredentials method from build script.
9 年前
Chris Smith
842e46efe6
Remove annoying build hack.
9 年前
Chris Smith
c86718a109
Bump some dependencies.
9 年前
Greg Holmes
85c2ae537c
Stop ClientInfo being static.
9 年前
Chris Smith
604dd70445
Update PMD to 5.2.2.
9 年前
Greg Holmes
d63e6d65b6
Update build scripts for artifactory.
9 年前
Chris Smith
07bee1115f
Gradle version bump.
9 年前
Chris Smith
d5a821a2fb
Tidy up gradle source sets.
This replaces the default source directories (src/main/java, etc)
with our own, instead of just appending ours to the list.
9 年前
Chris Smith
847f9e681d
Re-add manifest to fat jar...
9 年前
Chris Smith
c182f76649
Fix duplicate jar contents.
Don't include the version.config from build as well as the one we're
generating.
Don't include dependencies etc twice in fat jars.
9 年前
Chris Smith
6a05b09918
Include DMDirc in the jar...
Apparently this is useful in some cases. I have my doubts.
9 年前
Chris Smith
60c01ba6e7
Add target to bundle plugins in jar.
Building client:fatjar will bundle all plugins in the 'plugin'
configuration in gradle (currently IRC parser, Swing UI, two
tab completers) into a client jar.
Fixes #100
9 年前
Chris Smith
71a39a5bb3
Tidy up/correct build script a bit.
Fix incorrect plugin names.
Move task configuration into the task, rather than referencing it
oddly afterwards.
9 年前
Chris Smith
28cdbee348
Add input/output properties to createVersionConfig
This allows gradle to skip writing the config file if nothing
relevant has changed.
9 年前
Chris Smith
afd72f9926
Tell gradle to use 1.8.
9 年前
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 年前