build.gradle 1.36 KB
Newer Older
Daniel Wolf's avatar
Daniel Wolf committed
1
2
3
apply plugin: 'com.android.application'

android {
Daniel Wolf's avatar
Daniel Wolf committed
4
    compileSdkVersion 27
Daniel Wolf's avatar
Daniel Wolf committed
5
    buildToolsVersion "27.0.3"
Daniel Wolf's avatar
Daniel Wolf committed
6
7
    defaultConfig {
        applicationId "com.frostnerd.dnschanger"
Daniel Wolf's avatar
Daniel Wolf committed
8
        minSdkVersion 14
Daniel Wolf's avatar
Daniel Wolf committed
9
        targetSdkVersion 27
10
        versionCode 67
11
        versionName "BETA 1.16"
Daniel Wolf's avatar
Daniel Wolf committed
12
13
14
15
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
Daniel Wolf's avatar
Daniel Wolf committed
16
17
            minifyEnabled true
            shrinkResources true
Daniel Wolf's avatar
Daniel Wolf committed
18
            zipAlignEnabled true
Daniel Wolf's avatar
Daniel Wolf committed
19
20
21
22
23
24
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug{
            initWith(buildTypes.debug)
            minifyEnabled true
            shrinkResources true
Daniel Wolf's avatar
Daniel Wolf committed
25
            zipAlignEnabled true
Daniel Wolf's avatar
Daniel Wolf committed
26
27
28
29
30
31
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
Daniel Wolf's avatar
Daniel Wolf committed
32
33
34
35
    compile 'com.android.support:appcompat-v7:27.0.2'
    compile 'com.android.support:cardview-v7:27.0.2'
    compile 'com.android.support:recyclerview-v7:27.0.2'
    compile 'com.android.support:preference-v14:27.0.2'
36
37
38
    compile project(path: ':AndroidUtils:library')
    testCompile 'junit:junit:4.12'
    compile 'dnsjava:dnsjava:2.1.8'
Daniel Wolf's avatar
Daniel Wolf committed
39
40
    compile 'org.pcap4j:pcap4j-core:1.7.3'
    compile 'org.pcap4j:pcap4j-packetfactory-static:1.7.3'
41
    compile 'de.measite.minidns:minidns-core:0.2.2'
Daniel Wolf's avatar
Daniel Wolf committed
42
}