Chris Smith
9bb1d26647
Update dependencies
7 lat temu
Chris Smith
57f5b05d3a
Update gradle to 3.1.
7 lat temu
Chris Smith
0511e076b5
Add an API directory.
This is for the interfaces/trivial implementation classes that
DMDirc plugins can interact with. Eventually plugins will build
against the API instead of the DMDirc client itself, which will
allow for remote/detachable clients (amongst other things).
7 lat temu
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 lat temu
Chris Smith
6c2b7fd9ea
Change dependencies after parser group change.
DMDirc/Parser#23
8 lat temu
Chris Smith
28433df566
Update dagger and raven.
8 lat temu
Chris Smith
0edfc2ac83
Update raven.
8 lat temu
Chris Smith
272493d175
Update dependencies
8 lat temu
Greg Holmes
fa3f83ed90
Add a checker for nightly updates.
8 lat temu
Chris Smith
1cf4a6192b
Update gradle to 2.11.
Update DMDirc repo to HTTPS.
8 lat temu
Chris Smith
f270d34aa3
Use snapshot version of raven, send relase.
This enables release tracking in sentry.
8 lat temu
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 lat temu
Chris Smith
89cbd10f11
Bump gradle version.
9 lat temu
Greg Holmes
8933a842bd
Bit of tidying and add Fatal errors.
9 lat temu
Greg Holmes
6518193f7d
Initial work on Logback logging.
9 lat temu
Chris Smith
6661be0280
Use mockito-core not -all.
9 lat temu
Greg Holmes
3e63545efb
Add an explicit dependency on slf4j-api
9 lat temu
Greg Holmes
70e2b04fd1
Switch to J8 Base64.
9 lat temu
Chris Smith
9bed892dd6
Use new syntax for core plugins too.
9 lat temu
Chris Smith
254b69cf26
Use new plugin syntax.
9 lat temu
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 lat temu
Chris Smith
81302cfa9e
Move gradle scripts into gradle/
9 lat temu
Chris Smith
e39aafb254
Add support for coverage + coveralls.io.
9 lat temu
Chris Smith
0486559249
Use git-version plugin.
9 lat temu
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 lat temu
Chris Smith
3be80e6504
Rewrite the entire git-version thingy.
9 lat temu
Chris Smith
8d091ad2f7
Bump autovalue.
9 lat temu
Chris Smith
6a658d40bc
Split up client build file.
Makes it a bit less messy, and easier to find the right bits.
9 lat temu
Chris Smith
66dc04191b
Remove defunct getCredentials method from build script.
9 lat temu
Chris Smith
842e46efe6
Remove annoying build hack.
9 lat temu
Chris Smith
c86718a109
Bump some dependencies.
9 lat temu
Greg Holmes
85c2ae537c
Stop ClientInfo being static.
9 lat temu
Chris Smith
604dd70445
Update PMD to 5.2.2.
9 lat temu
Greg Holmes
d63e6d65b6
Update build scripts for artifactory.
9 lat temu
Chris Smith
07bee1115f
Gradle version bump.
9 lat temu
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 lat temu
Chris Smith
847f9e681d
Re-add manifest to fat jar...
9 lat temu
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 lat temu
Chris Smith
6a05b09918
Include DMDirc in the jar...
Apparently this is useful in some cases. I have my doubts.
9 lat temu
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 lat temu
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 lat temu
Chris Smith
28cdbee348
Add input/output properties to createVersionConfig
This allows gradle to skip writing the config file if nothing
relevant has changed.
9 lat temu
Chris Smith
afd72f9926
Tell gradle to use 1.8.
9 lat temu
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 lat temu
Chris Smith
f200ba2f81
Copy DMDirc jars into dist.
This copies the build/libs/client-<version>.jar jar into
dist/DMDirc.jar.
9 lat temu
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 lat temu
Chris Smith
75d74230aa
Support for publishing builds from gradle.
9 lat temu
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 lat temu
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 lat temu
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 lat temu