This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
|
||
apply plugin: 'io.spring.dependency-management' | ||
|
||
dependencies { | ||
implementation ('com.ardikars.jxnet:jxnet-context') | ||
implementation ('com.ardikars.jxnet:jxnet-core') | ||
implementation project(':jxpacket-common') | ||
implementation project(':jxpacket-core') | ||
compile ('com.ardikars.common:common-net') | ||
compile ('com.ardikars.common:common-util') | ||
compile ('com.ardikars.jxnet:jxnet-context') | ||
compile ('com.ardikars.jxnet:jxnet-core') | ||
compile project(':jxpacket-common') | ||
compile project(':jxpacket-core') | ||
} | ||
|
||
dependencyManagement { | ||
imports { | ||
mavenBom "com.ardikars.jxnet:jxnet:${JXNET_VERSION}" | ||
mavenBom "com.ardikars.common:common:${COMMON_VERSION}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
|
||
dependencies { | ||
compile group: 'org.pcap4j', name: 'pcap4j-core', version: '1.7.3' | ||
implementation project(':jxpacket-common') | ||
implementation project(':jxpacket-core') | ||
compile ('com.ardikars.common:common-net') | ||
compile ('com.ardikars.common:common-util') | ||
implementation ("org.pcap4j:pcap4j-core:${PCAP4J_VERSION}") | ||
compile project(':jxpacket-common') | ||
compile project(':jxpacket-core') | ||
} | ||
|
||
dependencyManagement { | ||
imports { | ||
mavenBom "com.ardikars.common:common:${COMMON_VERSION}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+51 Bytes
(100%)
...re/build/classes/java/main/com/ardikars/jxpacket/spring/boot/JxnetAutoConfiguration.class
Binary file not shown.
Binary file modified
BIN
+52 Bytes
(100%)
...e/build/classes/java/main/com/ardikars/jxpacket/spring/boot/Pcap4jAutoConfiguration.class
Binary file not shown.
Binary file removed
BIN
-17 KB
...et-spring-boot-autoconfigure/build/libs/jxpacket-spring-boot-autoconfigure-1.1.0.RC16.jar
Binary file not shown.
Binary file added
BIN
+17 KB
...et-spring-boot-autoconfigure/build/libs/jxpacket-spring-boot-autoconfigure-1.1.0.RC19.jar
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Manifest-Version: 1.0 | ||
Implementation-Title: Jxnet | ||
Implementation-Version: 1.1.0.RC16 | ||
Implementation-Version: 1.1.0.RC19 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ | |
* @author jxpacket 2018/11/10 | ||
* @author <a href="mailto:[email protected]">Langkuy</a> | ||
*/ | ||
@Configuration | ||
@Configuration("com.ardikars.jxpacket.JxnetAutoConfiguration") | ||
@ConditionalOnClass({Jxnet.class, Context.class, Packet.class}) | ||
@EnableConfigurationProperties(JxpacketConfigurationProperties.class) | ||
public class JxnetAutoConfiguration extends AbstractAutoConfiguration { | ||
|
@@ -336,7 +336,7 @@ private List<PcapNetworkInterface.PcapAddress> findAddresses(PcapIf networkInter | |
@Override | ||
public String prettyApplicationInformation() { | ||
return new StringBuilder() | ||
.append("Jxnet ") | ||
.append("Jxnet") | ||
.append(super.toString()).toString(); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ | |
* @author jxpacket 2018/11/08 | ||
* @author <a href="mailto:[email protected]">Langkuy</a> | ||
*/ | ||
@Configuration | ||
@Configuration("com.ardikars.jxpacket.pcap4jAutoConfiguration") | ||
@ConditionalOnClass(Pcaps.class) | ||
@AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE) | ||
@EnableConfigurationProperties(JxpacketConfigurationProperties.class) | ||
|
@@ -195,7 +195,7 @@ private PcapNetworkInterface parsePcapNetworkInterface(org.pcap4j.core.PcapNetwo | |
@Override | ||
public String prettyApplicationInformation() { | ||
return new StringBuilder() | ||
.append("Pcap4j ") | ||
.append("Pcap4j") | ||
.append(super.toString()).toString(); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters