Skip to content

Commit e4345fe

Browse files
author
niklasgriese
committed
update build.gradle & README.md
v1.2.3 Fix to build with Jitpack
1 parent ef8e094 commit e4345fe

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<a href="https://github.com/mintUI9976/Signal"> <img src="https://i.postimg.cc/HnjVQNdQ/signal.png" /></a>
33
<h2>A library for java with the native java socket technology and in combination with the custom bytebuffer allocator technology by boonproject</h2>
44
<hr />
5-
<a href="https://github.com/mintUI9976?tab=packages&repo_name=Signal"><img src="https://img.shields.io/badge/release-v1.2.2-9cf" /></a>
5+
<a href="https://github.com/mintUI9976?tab=packages&repo_name=Signal"><img src="https://img.shields.io/badge/release-v1.2.3-9cf" /></a>
66
<a href="https://github.com/mintUI9976/Signal"><img src="https://img.shields.io/github/languages/code-size/mintUI9976/Signal?color=orange" /></a>
77
<a href="https://github.com/mintUI9976/Signal"><img src="https://img.shields.io/tokei/lines/github/mintUI9976/Signal?color=yellow" /></a>
88
<a href="https://github.com/mintUI9976/Signal/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mintUI9976/Signal" /></a>

build.gradle

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@ import org.apache.tools.ant.filters.ReplaceTokens
22

33
plugins {
44
id 'java'
5+
id 'maven-publish'
56
}
7+
apply plugin: 'java'
8+
apply plugin: 'maven-publish'
9+
10+
sourceCompatibility = 1.17 // java 15
11+
targetCompatibility = 1.17
612

713
group 'com.zyonicsoftware.minereaper.signal'
8-
version 'v1.2.2'
14+
version 'v1.2.3'
915

1016
repositories {
1117
mavenCentral()
@@ -32,3 +38,16 @@ jar {
3238
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
3339
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
3440
}
41+
42+
publishing {
43+
publications {
44+
maven(MavenPublication) {
45+
from components.java
46+
}
47+
}
48+
}
49+
50+
wrapper {
51+
gradleVersion = "7.2"
52+
distributionType = Wrapper.DistributionType.ALL
53+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)