Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from Window5000/master
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
Window5000 authored Jan 15, 2023
2 parents c71bd90 + 2c62cf5 commit 122c743
Show file tree
Hide file tree
Showing 26 changed files with 876 additions and 139 deletions.
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

114 changes: 101 additions & 13 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/MinestomPlugins/NextLib?style=flat"> [![](https://jitpack.io/v/MinestomPlugins/NextLib.svg)](https://jitpack.io/#MinestomPlugins/NextLib)
<img alt="Minestom Library" src="https://img.shields.io/badge/MINESTOM-LIBRARY-brightgreen?style=flat"> <img alt="GitHub contributors" src="https://img.shields.io/github/contributors/HypeJet/HypeStom?style=flat"> [![](https://jitpack.io/v/HypeJet/HypeLib.svg)](https://jitpack.io/#HypeJet/HypeStom)


# HypeStom

# NextLib

~~Archived use the [new version merged with CityStom and NextPermissions](https://github.com/LabMCGames/NextLib)~~
This repo has now been unarchived!
Basic but useful utilities for creating Minestom extension (and other Minestom related stuff).
35 changes: 27 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,64 @@ plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.1.2"
id 'maven-publish'
id 'org.jetbrains.kotlin.jvm' version '1.8.0'
id "org.jetbrains.kotlin.plugin.lombok" version "1.8.0"
id "io.freefair.lombok" version "6.6.1"
}

group 'com.github.MinestomPlugins'
version 'v1.0.6'
group 'com.github.HypeJet'
version 'v2.1.0'

repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
}

dependencies {
compileOnly 'com.github.Minestom:Minestom:-SNAPSHOT'
implementation 'com.github.MinestomPlugins:NextPermissions:v1.1.3'
implementation 'com.github.CityWideMC:CityStom:1.4.0'
implementation('net.kyori:adventure-text-minimessage:4.12.0')
implementation( "com.moandjiezana.toml:toml4j:0.7.2")
compileOnly("org.mongodb:mongo-java-driver:3.12.11")
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
}

kotlin {
jvmToolchain(17)
kotlinSourcesJar
}

publishing {
publications {
release(MavenPublication) {
afterEvaluate {
var shadowJar = tasks.findByName("shadowJar")
if (shadowJar == null) from(components["java"])
if (shadowJar == null) {
from(components["java"])
from(components["kotlin"])
}
else artifact(shadowJar)
}
groupId = 'com.github.MinestomPlugins'
artifactId = 'NextLib'
version = '1.0.6'
groupId = 'com.github.HypeJet'
artifactId = 'HypeStom'
version = 'v2.1.0'
}
}
}

tasks.withType(ShadowJar) {
mergeServiceFiles()
archiveBaseName.set("HypeStom")
archiveClassifier.set("")
}

java {
withSourcesJar()
withJavadocJar()
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}

wrapper {
Expand Down
6 changes: 3 additions & 3 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jdk:
- zulu18
- zulu17
before_install:
- sdk install java 18.0.2-zulu
- sdk use java 18.0.2-zulu
- sdk install java 17.0.5-zulu
- sdk use java 17.0.5-zulu
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
rootProject.name = 'NextLib'
rootProject.name = 'HypeStom'

Loading

0 comments on commit 122c743

Please sign in to comment.