nextdns-mgmt/app/build.gradle

58 lines
1.9 KiB
Groovy
Raw Normal View History

2017-04-03 15:07:32 +01:00
apply plugin: 'com.android.application'
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-03 15:07:32 +01:00
android {
2018-02-11 01:29:54 +00:00
compileSdkVersion 27
buildToolsVersion "27.0.3"
2017-04-03 15:07:32 +01:00
defaultConfig {
applicationId "org.itxtech.daedalus"
minSdkVersion 15
2018-02-11 01:29:54 +00:00
targetSdkVersion 27
2018-02-14 06:39:04 +00:00
versionCode 15
versionName "1.11.1"
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
}
applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = outputFileName.replace("app", "${defaultConfig.applicationId}_${defaultConfig.versionName}_${gitCommit}")
2017-04-06 14:52:32 +01:00
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2017-04-03 15:07:32 +01:00
}
dependencies {
//Support
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support:support-v4:27.1.0'
implementation 'com.android.support:percent:27.1.0'
implementation 'com.android.support:cardview-v7:27.1.0'
//DNS
implementation 'org.pcap4j:pcap4j-core:1.7.3'
implementation 'org.pcap4j:pcap4j-packetfactory-static:1.7.3'
implementation 'de.measite.minidns:minidns-core:0.2.4'
implementation 'com.google.code.gson:gson:2.8.2'
//Analytics
2018-03-24 16:23:02 +00:00
implementation 'com.google.firebase:firebase-core:12.0.0'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.1'
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'