ygimenez / Pagination-Utils

A collection of methods to make message pagination with JDA easier.
GNU Lesser General Public License v2.1
27 stars 7 forks source link

Issues building project when added Pagination-Utils to JDA project #34

Closed Maciox55 closed 2 years ago

Maciox55 commented 2 years ago

Checklist

Make sure that you've checked all the items below.

Library info

What libraries versions are you using.

Describe the bug

When using Gradle and including the string from README.md implementation group: 'com.github.ygimenez', name: 'Pagination-Utils', version: '2.3.0'

Gradle Build task errors out with the following: `FAILURE: Build failed with an exception.

`Execution failed for task ':lib:compileJava'.

Could not resolve all files for configuration ':lib:compileClasspath'. Could not find com.github.liheyuan:simple-emoji-4j:f26d3b39be. Searched in the following locations:

To Reproduce

  1. Steps to reproduce the behavior:

  2. Add the Gradle dependency for Pagination-Utils as specified in README.md implementation group: 'com.github.ygimenez', name: 'Pagination-Utils', version: '2.3.0'

  3. Build the project

Expected behavior

Application builds successfully after implementing all dependencies.

Maciox55 commented 2 years ago

Shortly after I have realized that I needed to add to my gradle.build: maven { url 'https://jitpack.io' }

It wasn't clear in the README.md at first.

ygimenez commented 2 years ago

Actually, the README.md was referring to in-dev version instead of the current public release (which depends on Simple Emoji), I've separated the project in two versions now (master and nightly) to prevent further mistakes.