P
P
Pcap
Search…
Dependency management
Pcap dependency management.
Meven
Gradle
SBT
Leiningen
Grape
<dependencies>
<dependency>
<groupId>com.ardikars.pcap</groupId>
<artifactId>pcap-jdk7</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.ardikars.pcap</groupId>
<artifactId>pcap</artifactId>
<version>${PCAP-LATEST-VERSION}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
dependencies {
implementation ("com.ardikars.pcap:pcap-jdk7")
}
dependencyManagement {
imports { mavenBom("com.ardikars.pcap:pcap:${PCAP-LATEST-VERSION}") }
}
libraryDependencies ++= Seq(
"com.ardikars.pcap" % "pcap-jdk7" % "${PCAP-LATEST-VERSION}"
)
[com.ardikars.pcap/pcap-jdk7 "${PCAP-LATEST-VERSION}"]
@Grapes(
@Grab(group='com.ardikars.pcap', module='pcap-jdk7', version='${PCAP_LATEST_VERSION}')
)
Copy link