Skip to content

(major/non-breaking?) Modules Refactor - #97

Merged
jcxldn merged 51 commits into
masterfrom
feat/jcx/major/modules-def
Mar 29, 2021
Merged

(major/non-breaking?) Modules Refactor#97
jcxldn merged 51 commits into
masterfrom
feat/jcx/major/modules-def

Conversation

@jcxldn

@jcxldn jcxldn commented Mar 3, 2021

Copy link
Copy Markdown
Member

Notes

  • CodeQL alerts will all be reset, since the source code paths have changed.
  • Javadocs (both global ones and ones for each module) are now built during the build stage, so do we still need the javadoc-check ci job?

Partial(?) changelog from previous tagged release


StickyAPI v3 Changelog

Upgrade Notes

Internal (ci)

  • Added support for signed docs deployment
  • Added GitHub CodeQL support

Internal

  • Added private constructors to never instanciated classes

Dependencies

  • net.nemerosa.versioning: 2.8.2 -> 2.14.0
  • classgraph: 4.8.98 -> 4.8.100

New Features

Deprecations

  • getRandomNumber
  • com.dumbdogdiner.stickyapi.bukkit.nms

@jcxldn jcxldn added feature New feature or request help wanted Extra attention is needed ci/cd labels Mar 3, 2021
@jcxldn
jcxldn requested a review from kaylendog March 3, 2021 17:08
@jcxldn jcxldn self-assigned this Mar 3, 2021

@kaylendog kaylendog left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor formatting complaints that I will fix in a second - pls see comments on the build files.

Comment thread build.gradle Outdated
Comment thread build.gradle
Comment thread build.gradle Outdated
Comment thread build.gradle
Comment thread build.gradle Outdated
Comment thread bukkit/src/main/java/com/dumbdogdiner/stickyapi/bukkit/nms/PacketInjector.java Outdated
Comment thread bungee/build.gradle Outdated
Comment thread common/build.gradle Outdated
Comment thread common/build.gradle
Comment thread settings.gradle Outdated
@codecov

codecov Bot commented Mar 3, 2021

Copy link
Copy Markdown

Codecov Report

Merging #97 (44baa18) into master (5d56a8a) will increase coverage by 11.20%.
The diff coverage is 73.33%.

Impacted file tree graph

@@              Coverage Diff              @@
##             master      #97       +/-   ##
=============================================
+ Coverage     23.19%   34.39%   +11.20%     
=============================================
  Files            73       63       -10     
  Lines          3126     2532      -594     
  Branches        426      286      -140     
=============================================
+ Hits            725      871      +146     
+ Misses         2355     1597      -758     
- Partials         46       64       +18     
Impacted Files Coverage Δ Complexity Δ
...ogdiner/stickyapi/bukkit/command/AsyncCommand.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...stickyapi/bukkit/command/BukkitCommandBuilder.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...umbdogdiner/stickyapi/bukkit/command/ExitCode.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...gdiner/stickyapi/bukkit/command/PluginCommand.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...iner/stickyapi/bukkit/generator/VoidGenerator.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...mbdogdiner/stickyapi/bukkit/gui/ClickableSlot.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...ava/com/dumbdogdiner/stickyapi/bukkit/gui/GUI.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...com/dumbdogdiner/stickyapi/bukkit/gui/GUISlot.java 0.00% <ø> (ø) 0.00 <0.00> (?)
...ner/stickyapi/bukkit/item/BookAndQuillBuilder.java 28.57% <ø> (ø) 0.00 <0.00> (?)
...iner/stickyapi/bukkit/item/WrittenBookBuilder.java 33.87% <ø> (ø) 0.00 <0.00> (?)
... and 59 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d56a8a...44baa18. Read the comment docs.

@kaylendog kaylendog left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed formatting comments.

@jcxldn
jcxldn requested a review from kaylendog March 21, 2021 13:14

@kaylendog kaylendog left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - some formatting thingies.

@@ -5,8 +5,11 @@
package com.dumbdogdiner.stickyapi.bungeecord.util;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks very similar to the Bukkit startup util - perhaps some de-dupe here?

Comment thread common/serverversion/build.gradle Outdated
Comment thread config/build.gradle Outdated
Comment thread config/src/main/java/com/dumbdogdiner/stickyapi/common/config/Configuration.java Outdated
// Generate dumper options
DumperOptions options = new DumperOptions();
options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
options.setIndent(2);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 tab indentation hhhhh - vlad will complain but idc >:3

Comment thread settings.gradle Outdated
@kaylendog kaylendog linked an issue Mar 23, 2021 that may be closed by this pull request
@jcxldn jcxldn linked an issue Mar 23, 2021 that may be closed by this pull request
3 tasks
aakatz3 and others added 2 commits March 23, 2021 19:49
* Add browseJavadoc, allow frames support

* update gradle

* Fix javadoc issue

* Generate javadoc for private

* Switch back to gradle 6.7

* Don't duplicate allprojects directive; remove extra encoding option

* Add trailing newline

Co-authored-by: James <jcahill773@gmail.com>
Co-authored-by: Andrew Katz <aakatz3@gmail.com>
@kaylendog
kaylendog self-requested a review March 24, 2021 18:14

@kaylendog kaylendog left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread LICENSE_HEADER
/*
* Copyright (c) 2020-$YEAR DumbDogDiner <dumbdogdiner.com>. All rights reserved.
* Licensed under the MIT license, see LICENSE for more information...
*/ No newline at end of file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
*/
*/

Comment thread build.gradle Outdated
Comment thread common/build.gradle Outdated
@jcxldn jcxldn added this to the v3.0 (next) milestone Mar 29, 2021
@jcxldn
jcxldn merged commit c4d9c88 into master Mar 29, 2021
@jcxldn
jcxldn deleted the feat/jcx/major/modules-def branch March 30, 2021 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd feature New feature or request help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gradle module refactor next (any) release to-do list

3 participants