Skip to content

Commit 748e236

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

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
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.3-9cf" /></a>
5+
<a href="https://github.com/mintUI9976?tab=packages&repo_name=Signal"><img src="https://img.shields.io/badge/release-v1.2.4-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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
import org.apache.tools.ant.filters.ReplaceTokens
22

3-
plugins {
4-
id 'java'
5-
id 'maven-publish'
6-
}
73
apply plugin: 'java'
84
apply plugin: 'maven-publish'
95

106
sourceCompatibility = 1.17 // java 15
117
targetCompatibility = 1.17
128

139
group 'com.zyonicsoftware.minereaper.signal'
14-
version 'v1.2.3'
10+
version 'v1.2.4'
1511

1612
repositories {
1713
mavenCentral()
@@ -31,13 +27,17 @@ processResources {
3127
duplicatesStrategy = DuplicatesStrategy.INCLUDE
3228
}
3329

34-
jar {
30+
java {
31+
withSourcesJar()
32+
}
33+
34+
/*jar {
3535
from {
3636
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
3737
}
3838
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
3939
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
40-
}
40+
}*/
4141

4242
publishing {
4343
publications {

0 commit comments

Comments
 (0)