2017-04-03 15:07:32 +01:00
|
|
|
apply plugin: 'com.android.application'
|
2018-03-24 15:35:45 +00:00
|
|
|
apply plugin: 'io.fabric'
|
2017-04-03 15:07:32 +01:00
|
|
|
|
2017-04-08 04:56:22 +01:00
|
|
|
def gitCommit = 'git rev-parse --short HEAD'.execute([], project.rootDir).text.trim()
|
2017-04-07 15:48:54 +01:00
|
|
|
|
2017-04-03 15:07:32 +01:00
|
|
|
android {
|
2018-11-04 03:26:07 +00:00
|
|
|
compileSdkVersion 28
|
|
|
|
buildToolsVersion "28.0.3"
|
2017-04-03 15:07:32 +01:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.itxtech.daedalus"
|
2017-04-10 14:09:38 +01:00
|
|
|
minSdkVersion 15
|
2018-11-04 03:26:07 +00:00
|
|
|
targetSdkVersion 28
|
2019-04-20 17:08:45 +01:00
|
|
|
versionCode 19
|
|
|
|
versionName "1.14.0"
|
2017-04-08 04:56:22 +01:00
|
|
|
|
|
|
|
buildConfigField "String", "BUILD_TIME", "\"${System.currentTimeMillis()}\""
|
|
|
|
buildConfigField "String", "GIT_COMMIT", "\"${gitCommit}\""
|
2017-04-03 15:07:32 +01:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2017-04-06 14:52:32 +01:00
|
|
|
lintOptions {
|
2017-04-03 15:07:32 +01:00
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
2018-03-24 15:35:45 +00:00
|
|
|
applicationVariants.all { variant ->
|
|
|
|
variant.outputs.all {
|
|
|
|
outputFileName = outputFileName.replace("app", "${defaultConfig.applicationId}_${defaultConfig.versionName}_${gitCommit}")
|
2017-04-06 14:52:32 +01:00
|
|
|
}
|
|
|
|
}
|
2018-03-24 15:35:45 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2017-04-03 15:07:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-03-24 15:35:45 +00:00
|
|
|
//Support
|
2019-04-20 17:08:45 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0-alpha4'
|
2018-11-04 03:26:07 +00:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
implementation 'androidx.percentlayout:percentlayout:1.0.0'
|
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
2019-04-20 17:08:45 +01:00
|
|
|
implementation 'com.google.android.material:material:1.1.0-alpha05'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0-alpha04'
|
2018-03-24 15:35:45 +00:00
|
|
|
//DNS
|
2019-04-20 17:08:45 +01:00
|
|
|
implementation 'org.pcap4j:pcap4j-core:1.7.6'
|
|
|
|
implementation 'org.pcap4j:pcap4j-packetfactory-static:1.7.6'
|
2019-01-01 03:59:43 +00:00
|
|
|
implementation 'org.minidns:minidns-client:0.3.4'
|
2018-06-21 05:21:47 +01:00
|
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
2019-04-20 17:08:45 +01:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.14.1'
|
2018-03-24 15:35:45 +00:00
|
|
|
//Analytics
|
2019-03-24 06:07:08 +00:00
|
|
|
implementation 'com.google.firebase:firebase-core:16.0.8'
|
|
|
|
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.9'
|
2017-04-03 15:07:32 +01:00
|
|
|
}
|
2018-03-25 00:30:50 +00:00
|
|
|
|
2018-03-24 16:23:02 +00:00
|
|
|
apply plugin: 'com.google.gms.google-services'
|