Skip to content

Commit

Permalink
update build.gradle & README.md
Browse files Browse the repository at this point in the history
v1.2.3
Fix to build with Jitpack
  • Loading branch information
niklasgriese committed May 24, 2024
1 parent ef8e094 commit e4345fe
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 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.2-9cf" /></a>
<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/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
21 changes: 20 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ 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.2'
version 'v1.2.3'

repositories {
mavenCentral()
Expand All @@ -32,3 +38,16 @@ jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
}

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

wrapper {
gradleVersion = "7.2"
distributionType = Wrapper.DistributionType.ALL
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit e4345fe

Please sign in to comment.