apply plugin: 'com.android.application' apply plugin: 'io.fabric' def gitCommit = 'git rev-parse --short HEAD'.execute([], project.rootDir).text.trim() android { compileSdkVersion 27 buildToolsVersion "27.0.3" defaultConfig { applicationId "org.itxtech.daedalus" minSdkVersion 15 targetSdkVersion 27 versionCode 15 versionName "1.11.1" buildConfigField "String", "BUILD_TIME", "\"${System.currentTimeMillis()}\"" buildConfigField "String", "GIT_COMMIT", "\"${gitCommit}\"" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { checkReleaseBuilds false abortOnError false } applicationVariants.all { variant -> variant.outputs.all { outputFileName = outputFileName.replace("app", "${defaultConfig.applicationId}_${defaultConfig.versionName}_${gitCommit}") } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { //Support implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support:design:27.1.1' implementation 'com.android.support:support-v4:27.1.1' implementation 'com.android.support:percent:27.1.1' implementation 'com.android.support:cardview-v7:27.1.1' //DNS implementation 'org.pcap4j:pcap4j-core:1.7.3' implementation 'org.pcap4j:pcap4j-packetfactory-static:1.7.3' implementation 'org.minidns:minidns-client:0.3.0' implementation 'com.google.code.gson:gson:2.8.5' implementation 'com.squareup.okhttp3:okhttp:3.10.0' //Analytics implementation 'com.google.firebase:firebase-core:15.0.2' implementation 'com.crashlytics.sdk.android:crashlytics:2.9.3' } apply plugin: 'com.google.gms.google-services'