build.gradle 1.83 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
11
        versionCode 78
        versionName "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
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
29
30
31
32
33
34
    testOptions {
        unitTests.returnDefaultValues = true
        unitTests {
            includeAndroidResources = true
        }
    }
Daniel Wolf's avatar
Daniel Wolf committed
35
36
37
}

dependencies {
Daniel Wolf's avatar
Daniel Wolf committed
38
39
40
41
42
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.android.support:cardview-v7:27.1.1'
    implementation 'com.android.support:recyclerview-v7:27.1.1'
    implementation 'com.android.support:preference-v14:27.1.1'
    implementation 'com.android.support:design:27.1.1'
Daniel Wolf's avatar
Daniel Wolf committed
43
44
    implementation project(path: ':AndroidUtils:library')
    testImplementation 'junit:junit:4.12'
45
    testImplementation "org.robolectric:robolectric:3.6.1"
46
    implementation 'com.google.code.gson:gson:2.8.2'
Daniel Wolf's avatar
Daniel Wolf committed
47
48
49
50
    implementation 'dnsjava:dnsjava:2.1.8'
    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.2'
Daniel Wolf's avatar
Daniel Wolf committed
51
52
    compileOnly 'org.projectlombok:lombok:1.16.20'
    annotationProcessor "org.projectlombok:lombok:1.16.20"
Daniel Wolf's avatar
Daniel Wolf committed
53
}