Skip to content

Native build support - #24

Merged
eggy03 merged 14 commits into
mainfrom
native-build-support
Jun 8, 2026
Merged

Native build support#24
eggy03 merged 14 commits into
mainfrom
native-build-support

Conversation

@eggy03

@eggy03 eggy03 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Description

This PR adds experimental native build support for the bot.

Type of Change

Build

  • Experimental Support for Native Builds
  • Added Dockerfile.native to allow building the native image in docker

Refactor

  • Activity Listener does not show server count anymore. Instead, it shows whether the bot is running in JVM Mode or Native

Documentation

  • Readme has been updated to include build instructions for non docker deployments
  • Also added a reference to Dockerfile.native for native building from source with and without docker

Dependency

  • Update PaperTrai SDK to 3.0.1

Other

  • Added .env.example

Tasks for Native Builds

  • New Code Added
    • New Code Tested In Native Build
  • Dependencies Updated
    • Dependencies Updates Tested In Native Build
  • Reachability Metadata Updated
    • Update Tested In Native Build

eggy03 added 14 commits June 7, 2026 10:55
- update `papertrail.sdk.version` from `3.0.0` to `3.0.1`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- update `com.neovisionaries.ws.client` to `com.neovisionaries.ws.client.Misc` for `--initialize-at-run-time`
- remove `net.dv8tion.jda.internal.requests.restaction.MessageCreateActionImpl` from `--initialize-at-run-time`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add `net.dv8tion.jda.internal.requests.restaction.MessageCreateActionImpl` to `--initialize-at-run-time`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add proxy configurations for `papertrail.sdk` services.
- Include JDA types for `JDA[]`, `IGuildChannelContainer`, `EventListener`, and `ListenerAdapter`.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Update bot's custom status to include `LaunchMode` and `ImageMode`.
- Remove `updateActivity()` method and stop updating activity on guild events.
- Add `getLaunchMode()` and `getImageMode()` helper methods.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Out of SNAPSHOT

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add GraalVM or Mandrel `25+` requirement for native builds in `README.md`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
@eggy03
eggy03 merged commit 0d18a64 into main Jun 8, 2026
4 of 6 checks passed
@eggy03
eggy03 deleted the native-build-support branch June 8, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant