build.gradle 1.88 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 81
        versionName "1.16.0.2"
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'
        }
    }
Daniel Wolf's avatar
Daniel Wolf committed
29
30
31
    lintOptions {
        abortOnError false
    }
32
33
34
35
36
37
    testOptions {
        unitTests.returnDefaultValues = true
        unitTests {
            includeAndroidResources = true
        }
    }
Daniel Wolf's avatar
Daniel Wolf committed
38
39
40
}

dependencies {
Daniel Wolf's avatar
Daniel Wolf committed
41
42
43
44
45
    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
46
47
    implementation project(path: ':AndroidUtils:library')
    testImplementation 'junit:junit:4.12'
48
    testImplementation "org.robolectric:robolectric:3.6.1"
49
    implementation 'com.google.code.gson:gson:2.8.2'
Daniel Wolf's avatar
Daniel Wolf committed
50
51
52
53
    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
54
55
    compileOnly 'org.projectlombok:lombok:1.16.20'
    annotationProcessor "org.projectlombok:lombok:1.16.20"
Daniel Wolf's avatar
Daniel Wolf committed
56
}