mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-06-16 21:10:57 +08:00
It's now possible to choose the PCAP dump mode: none (no external PCAP dump), HTTP server, UDP exporter. The HTTP server mode is a convenient way to download a PCAP without any client side configuration. This also makes it possible to capture the PCAP data on a Windows pc, where the UDP collection mode is not normally applicable. Closes #13
42 lines
1.4 KiB
Groovy
42 lines
1.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.0"
|
|
defaultConfig {
|
|
applicationId "com.emanuelef.remote_capture"
|
|
minSdkVersion 19
|
|
targetSdkVersion 29
|
|
versionCode 3
|
|
versionName "1.2"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path file('src/main/jni/vpnproxy-jni/CMakeLists.txt')
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.preference:preference:1.1.0-alpha05'
|
|
implementation 'androidx.viewpager:viewpager:1.0.0'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test:runner:1.2.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
implementation project(path: ':zdtun')
|
|
implementation 'cat.ereza:customactivityoncrash:2.2.0'
|
|
implementation project(path: ':ndpi')
|
|
implementation 'org.nanohttpd:nanohttpd:2.3.1'
|
|
}
|