Skip to content

Commit ef8e094

Browse files
author
niklasgriese
committed
update build.gradle & README.md
1 parent 67d5ca3 commit ef8e094

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
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.1-9cf" /></a>
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>
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: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1+
import org.apache.tools.ant.filters.ReplaceTokens
2+
13
plugins {
24
id 'java'
3-
id 'maven'
4-
id 'maven-publish'
55
}
66

7-
apply plugin: 'maven'
8-
97
group 'com.zyonicsoftware.minereaper.signal'
10-
version 'v1.2.1'
11-
12-
tasks.withType(JavaCompile) {
13-
options.encoding = 'UTF-8'
14-
}
8+
version 'v1.2.2'
159

1610
repositories {
1711
mavenCentral()
@@ -22,15 +16,19 @@ dependencies {
2216
implementation group: 'org.jetbrains', name: 'annotations', version: '20.1.0'
2317
implementation group: 'io.fastjson', name: 'boon', version: '0.34'
2418
implementation 'com.github.mintUI9976:RedEugene:v0.3.2'
25-
implementation 'com.github.jitpack:gradle-simple:1.0'
19+
}
20+
21+
processResources {
22+
from(sourceSets.main.resources.srcDirs) {
23+
filter ReplaceTokens, tokens: [version: version]
24+
}
25+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
2626
}
2727

2828
jar {
29-
from sourceSets.main.allSource
3029
from {
31-
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
32-
}
33-
processResources {
34-
exclude("*")
30+
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
3531
}
32+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
33+
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
3634
}

0 commit comments

Comments
 (0)