Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coppercore using Jitpack #202

Open
3 tasks
aidnem opened this issue Aug 19, 2024 · 4 comments
Open
3 tasks

Add coppercore using Jitpack #202

aidnem opened this issue Aug 19, 2024 · 4 comments
Labels
feature New feature or request

Comments

@aidnem
Copy link
Contributor

aidnem commented Aug 19, 2024

Purpose
Add coppercore as a dependency using jitpack. Potential alternative to #201 .

Project Scope

  • Add jitpack to build script
  • Use coppercore using jitpack
  • Use coppercore features
@aidnem aidnem added the feature New feature or request label Aug 19, 2024
@aidnem
Copy link
Contributor Author

aidnem commented Aug 20, 2024

@jkleiber it seems I'm getting somewhere! Poking around in some of the links in the error messages brought me here: the build log from jitpack's attempt to build our library. At the bottom, it states "⚠️ ERROR: No build artifacts found". I assume this means that if we can make our library produce an artifact(s?), it will let us build it.

@jkleiber
Copy link
Member

@aidnem have you tried looking at this: https://jitpack.io/docs/BUILDING/
we might need to add something on the coppercore side to get it to build correctly in jitpack

@aidnem
Copy link
Contributor Author

aidnem commented Aug 20, 2024

@jkleiber looks like I have to enable building publications in the build.gradle. Shall I branch off of Minh's JSON Controller Implementation branch just to give me something to import?

@aidnem
Copy link
Contributor Author

aidnem commented Aug 20, 2024

I found a post online linking to an example project, these commits are what we're looking for it seems:
1: Using the published modules
2: Enabling publishing of the modules

The official jitpack modular example repo could also be what we want to copy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants