Secure IoT command sending (Android Client). There are many ways to secure and authenticate a networking communication, but not all solutions will run on a microcontroller, where processing power and memory is a scarce resource.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.2 KiB

apply plugin: 'com.android.application'
apply plugin: 'androidx.navigation.safeargs'
apply plugin: 'com.jaredsburrows.license'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.skulixlabs.iotcontrol"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
applicationVariants.all { variant ->
variant.resValue "string", "appVersion", variant.versionName
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
/*licenseReport {
generateHtmlReport = false
generateJsonReport = true
copyHtmlReportToAssets = true
copyJsonReportToAssets = false
}*/
dependencies {
def nav_version = "2.1.0"
def jackson_ver = "2.9.9"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
//implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.preference:preference:1.1.0-alpha05'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
//debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-beta-3'
implementation "com.google.android.material:material:1.1.0-alpha10"
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_ver"
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_ver"
implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_ver"
implementation 'commons-io:commons-io:2.6'
implementation 'com.google.android:flexbox:1.1.1'
implementation 'br.com.simplepass:loading-button-android:2.1.5'
implementation 'com.github.StevenDXC:DxLoadingButton:2.2'
}