PCAPdroid/app/build.gradle
2021-07-04 15:08:08 +02:00

58 lines
1.5 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
ndkVersion "22.1.7171670"
defaultConfig {
applicationId "com.emanuelef.remote_capture"
minSdkVersion 21
targetSdkVersion 30
versionCode 32
versionName "1.3.9"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path file('src/main/jni/CMakeLists.txt')
version "3.18.1"
}
}
compileOptions {
encoding "UTF-8"
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
// NOTE: unstripped nDPI library takes up about 4 MB!
//doNotStrip '**.so'
}
}
dependencies {
// AndroidX
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.fragment:fragment:1.3.5'
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
// Google
implementation 'com.google.android.material:material:1.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
// Third-party
implementation 'cat.ereza:customactivityoncrash:2.3.0'
implementation 'org.nanohttpd:nanohttpd:2.3.1'
}