remove native libraries and use external project

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
This commit is contained in:
Olivier Lamy 2021-11-12 11:30:38 +10:00 committed by Simone Bordet
parent bf64d4bc18
commit 362458e145
2 changed files with 6 additions and 21 deletions

View File

@ -12,21 +12,9 @@
<properties>
<bundle-symbolic-name>${project.groupId}.quic-quiche-common</bundle-symbolic-name>
<checkstyle.skip>true</checkstyle.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven.checkstyle.plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
@ -36,6 +24,11 @@
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</dependency>
<dependency>
<groupId>org.mortbay.jetty.quic.libquiche</groupId>
<artifactId>jetty-quiche-native</artifactId>
<version>0.10.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-slf4j-impl</artifactId>

View File

@ -1,8 +0,0 @@
version=0.10.0
# checkout and build quiche
git clone --recursive https://github.com/cloudflare/quiche ${version}
cd ${version}
git checkout -b tag-${version} tags/${version}
cargo build --features ffi,qlog
ls ./target/debug/libquiche.so