summaryrefslogtreecommitdiff
path: root/bitmask_android/build.gradle
blob: d59533eab8e49dc9722976958f5b61da0ae3ae2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apply plugin: 'android'

android {
    compileSdkVersion 19
    buildToolsVersion "19.0.1"

    defaultConfig {
        minSdkVersion 14
        targetSdkVersion 19

        testPackageName "se.leap.bitmaskclient.test"
        testInstrumentationRunner "android.test.InstrumentationTestRunner"
    }

    buildTypes {
        release {
            runProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }

    lintOptions {
    		abortOnError false
    }

    sourceSets {
    	main
	{
	  assets.srcDirs = ['assets', 'ovpnlibs/assets']
	  jniLibs.srcDirs = ['ovpnlibs/jniLibs']
	  jni.srcDirs = [] //disable automatic ndk-build
	}
    }
}

dependencies {
    androidTestCompile 'com.android.support:support-v4:+'
    androidTestCompile 'com.jayway.android.robotium:robotium-solo:4.3.1'
}