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 67d5ca3 commit ef8e094
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<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://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?tab=packages&repo_name=Signal"><img src="https://img.shields.io/badge/release-v1.2.2-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>
Expand Down
28 changes: 13 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import org.apache.tools.ant.filters.ReplaceTokens

plugins {
id 'java'
id 'maven'
id 'maven-publish'
}

apply plugin: 'maven'

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

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

repositories {
mavenCentral()
Expand All @@ -22,15 +16,19 @@ dependencies {
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'
}

processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

jar {
from sourceSets.main.allSource
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
processResources {
exclude("*")
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
}

0 comments on commit ef8e094

Please sign in to comment.