• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CS2113-AY1819S2-T09-1 / main / 414
92%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2019 07:32PM UTC
Jobs 1
Files 106
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
414

push

travis-ci

lycjackie
build.gradle: add `buildJar`, update `archiveName` and dependencies (#107)

There are a few issues with the Gradle build script.
* Overlooked issues when building JAR file with `shadowJar`
  `shadowJar` simply bundles the `HelpWindow.html` without re-generating
  the docs first. This may cause the `Help` window of our application to
  display outdated details.

* `archiveName` is `addressbook.jar`, but should be `PWE.jar`
   Despite our User Guide mentioning `PWE.jar`, the JAR file created is
   by `shadowJar` is `addressbook.jar`. We should update the filename
   accordingly to suit our needs.

* Dependencies are out-of-date
  We should keep our dependencies up-to-date to fix bugs reported in the
  older releases of our dependencies.

* Lack of verbosity for `javac` linter warnings
  `javac` reports that the codebase used unchecked or unsafe operations.
   This may indicate potential bugs in our application.

To address these issues, let's update `build.gradle` by
* adding `buildJar` task to simplify the build process and ensuring that
  docs are regenerated first before building the JAR.
* update `archiveName` to `PWE.jar`
* update the out-of-date dependencies
* add `javac` arguments to increase verbosity of linter warnings so that
  we can fix the potential bugs

Note: After updating Jackson, `Path` objects are now deserialised as
      absolute paths, which causes some of the assertion tests to fail.
      As such, `commons/core/Config` & `model/UserPrefs` were updated
      accordingly to convert absolute paths back to relative paths so as
      to allow the assertion tests to pass again.

16 of 16 new or added lines in 2 files covered. (100.0%)

1915 of 2358 relevant lines covered (81.21%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 414.1 20 Mar 2019 07:32PM UTC 0
81.21
Travis Job 414.1
Source Files on build 414
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #414
  • 99d7fc60 on github
  • Prev Build on master (#403)
  • Next Build on master (#432)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc