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

3.0.0부터는 tap이 필요한 마인크래프트 플러그인은 어떻게 사용해야 하나요? #13

Closed
minejango2 opened this issue Sep 10, 2020 · 1 comment

Comments

@minejango2
Copy link

3.0.0부터는 tap이 필요한 마인크래프트 플러그인은 어떻게 사용해야 하나요? shadowjar를 어떻게 사용하는지 잘 모르겠습니다...

@noonmaru
Copy link
Owner

예제 두개입니다.

https://github.com/noonmaru/psychics/blob/master/build.gradle.kts
https://github.com/noonmaru/tap-sample-plugin/blob/master/build.gradle.kts

이전에는 Tap을 플러그인으로 연동해서 사용했다면 플러그인마다 자신의 Tap을 가져가는걸로 변경했습니다.

이유는 너무 잦은 버전 변경으로 인해 의존하는 플러그인들이 Tap의 코드 변화를 따라가기 벅차고 독립성을 지원하기 위해 바꾸었습니다.

shadowJar 태스크 안에 tap 경로를 relocate 하고 shadowJar 태스크로 빌드하면 됩니다.

shadowJar는 종속성 코드를 jar안에 포함시킬 수 있는 기능을 가진 gradle 플러그인입니다.

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

No branches or pull requests

2 participants