Skip to content

Commit

Permalink
update build.gradle & README.md
Browse files Browse the repository at this point in the history
v1.2.4
Fix to build with Jitpack
  • Loading branch information
niklasgriese committed May 24, 2024
1 parent e4345fe commit 748e236
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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.3-9cf" /></a>
<a href="https://github.com/mintUI9976?tab=packages&repo_name=Signal"><img src="https://img.shields.io/badge/release-v1.2.4-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
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
import org.apache.tools.ant.filters.ReplaceTokens

plugins {
id 'java'
id 'maven-publish'
}
apply plugin: 'java'
apply plugin: 'maven-publish'

sourceCompatibility = 1.17 // java 15
targetCompatibility = 1.17

group 'com.zyonicsoftware.minereaper.signal'
version 'v1.2.3'
version 'v1.2.4'

repositories {
mavenCentral()
Expand All @@ -31,13 +27,17 @@ processResources {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

jar {
java {
withSourcesJar()
}

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

publishing {
publications {
Expand Down

0 comments on commit 748e236

Please sign in to comment.