Chris Smith
d15111ddd3
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
пре 8 година
Chris Smith
6c2b7fd9ea
Change dependencies after parser group change.
DMDirc/Parser#23
пре 8 година
Chris Smith
28433df566
Update dagger and raven.
пре 8 година
Chris Smith
0edfc2ac83
Update raven.
пре 8 година
Chris Smith
272493d175
Update dependencies
пре 8 година
Greg Holmes
fa3f83ed90
Add a checker for nightly updates.
пре 8 година
Chris Smith
1cf4a6192b
Update gradle to 2.11.
Update DMDirc repo to HTTPS.
пре 8 година
Chris Smith
f270d34aa3
Use snapshot version of raven, send relase.
This enables release tracking in sentry.
пре 8 година
Chris Smith
1ad67b6c3f
Update to MBassador 1.2.4.
This release contains some performance improvements compared
to the version we were using.
Error handlers are now passed in at construction time, so
there was a small bit of refactoring required.
пре 8 година
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 година