Skip to content

Commit 5a598c1

Browse files
committed
Added maven plugin to library so jar can be compiled on jitpack
1 parent 0bc528f commit 5a598c1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

library/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
apply plugin: 'java'
2+
apply plugin: 'maven'
3+
4+
group = 'com.github.stealthcopter'
25

36
dependencies {
47
testImplementation 'junit:junit:4.12'

library/src/main/java/com/stealthcopter/networktools/ping/PingNative.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ public static PingResult getPingStats(PingResult pingResult, String s) {
101101
int end = s.indexOf(" ms\n", start);
102102
pingResult.fullString = s;
103103
if (start == -1 || end == -1) {
104-
// TODO: We failed at parsing, maybe we should fix ;)
105104
pingError = "Error: " + s;
106105
} else {
107106
s = s.substring(start + 8, end);

0 commit comments

Comments
 (0)