Skip to content

Commit

Permalink
update build.gradle & README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasgriese committed May 24, 2024
1 parent 47ca0ef commit 67d5ca3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 80 deletions.
58 changes: 5 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
<div align="center">
<a href="https://zyonicsoftware.com"> <img src="https://i.postimg.cc/HnjVQNdQ/signal.png" /></a>
<a href="https://github.com/mintUI9976/Signal"> <img src="https://i.postimg.cc/HnjVQNdQ/signal.png" /></a>
<h2>A library for java with the native java socket technology and in combination with the custom bytebuffer allocator technology by boonproject</h2>
<hr />
<a href="https://gitlab.zyonicsoftware.com/mint9976/Signal/-/packages"><img src="https://img.shields.io/badge/release-v1.2.0-9cf" /></a>
<a href="https://github.com/mintUI9976?tab=packages&repo_name=Signal"><img src="https://img.shields.io/badge/release-v1.2.1-9cf" /></a>
<a href="https://github.com/mintUI9976/Signal"><img src="https://img.shields.io/github/languages/code-size/mintUI9976/Signal?color=orange" /></a>
<a href="https://github.com/mintUI9976/Signal"><img src="https://img.shields.io/tokei/lines/github/mintUI9976/Signal?color=yellow" /></a>
<a href="https://github.com/mintUI9976/Signal/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mintUI9976/Signal" /></a>
<a href="https://github.com/mintUI9976/Signal/stargazers"><img src="https://img.shields.io/github/stars/mintUI9976/Signal?color=ff69b4" /></a>
<a href=""><img src="https://img.shields.io/github/languages/count/mintUI9976/Signal?color=blueviolet" /></a>
<img src="https://img.shields.io/discord/743171495454441503?label=discord&color=cyan" />
<img src="https://img.shields.io/badge/opensource-❤-9cf">
<br />
<br />
<a href="https://github.com/boonproject">BoonProject</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://zyonicsoftware.com">Website</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://github.com/mintUI9976/Signal/blob/master/LICENSE">License</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://gitlab.zyonicsoftware.com">Gitlab</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://github.com/Zyonic-Software">Github</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://twitter.com/zyonicsoftware">Twitter</a>
<br />
<hr />
</div>
Expand Down Expand Up @@ -58,58 +49,19 @@
### Implementation / Gradle

````xml
maven{url"https://gitlab.zyonicsoftware.com/api/v4/projects/144/packages/maven"}
````

````xml
compile group:'com.zyonicsoftware.minereaper.signal',name:'Signal',version:'v1.2.0'
````

<hr />

### Implementation / Maven

````xml

<dependency>
<groupId>com.zyonicsoftware.minereaper.signal</groupId>
<artifactId>Signal</artifactId>
<version>v1.2.0</version>
</dependency>
````

````xml
mvn dependency:get -Dartifact=com.zyonicsoftware.minereaper.signal:Signal:v1.2.0
maven { url 'https://jitpack.io' }
````

````xml

<repositories>
<repository>
<id>gitlab-maven</id>
<url>https://gitlab.zyonicsoftware.com/api/v4/projects/144/packages/maven</url>
</repository>
</repositories>

<distributionManagement>
<repository>
<id>gitlab-maven</id>
<url>https://gitlab.zyonicsoftware.com/api/v4/projects/144/packages/maven</url>
</repository>

<snapshotRepository>
<id>gitlab-maven</id>
<url>https://gitlab.zyonicsoftware.com/api/v4/projects/144/packages/maven</url>
</snapshotRepository>
</distributionManagement>
implementation 'com.github.mintUI9976:Signal:Tag'
````

<hr />

### Learn about Signal

- Signal example
guide, [Signal Explained](https://gitlab.zyonicsoftware.com/mint9976/Signal/-/tree/master/src/main/java/com/zyonicsoftware/minereaper/signal/example)
guide, [Signal Explained](https://github.com/mintUI9976/Signal/tree/master/src/main/java/com/zyonicsoftware/minereaper/signal/example)



33 changes: 6 additions & 27 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ plugins {
apply plugin: 'maven'

group 'com.zyonicsoftware.minereaper.signal'
version 'v1.2.0'
version 'v1.2.1'

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

repositories {
mavenCentral()
maven { url 'https://gitlab.zyonicsoftware.com/api/v4/projects/164/packages/maven' }
maven { url 'https://jitpack.io' }
}

dependencies {
compile group: 'org.jetbrains', name: 'annotations', version: '20.1.0'
compile group: 'io.fastjson', name: 'boon', version: '0.34'
compile group: 'com.zyonicsoftware.minereaper.redeugene', name: 'redeugene', version: 'v0.2.4'
implementation group: 'org.jetbrains', name: 'annotations', version: '20.1.0'
implementation group: 'io.fastjson', name: 'boon', version: '0.34'
implementation 'com.github.mintUI9976:RedEugene:v0.3.2'
implementation 'com.github.jitpack:gradle-simple:1.0'
}

jar {
Expand All @@ -33,25 +34,3 @@ jar {
exclude("*")
}
}

publishing {
publications {
library(MavenPublication) {
from components.java
}
}

repositories {
maven {
url "https://gitlab.zyonicsoftware.com/api/v4/projects/144/packages/maven"
credentials(HttpHeaderCredentials) {
name = "Job-Token"
value = System.getenv("CI_JOB_TOKEN")
}
authentication {
header(HttpHeaderAuthentication)
}
}
}

}

0 comments on commit 67d5ca3

Please sign in to comment.