summaryrefslogtreecommitdiff
path: root/platform/android/example/mupdf/build.gradle
blob: 44a5a895a466cd3bd2f8bd500783b976b382caf2 (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
apply plugin: 'com.android.library'

android {
	compileSdkVersion 23
	buildToolsVersion "23.0.2"

	defaultConfig {
		minSdkVersion 16
		targetSdkVersion 16
		versionCode 1
		versionName "1.0"
	}

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

	sourceSets {
		main {
			java {
				//  we're getting java sources from two places
				srcDirs = ["src/main/java", "../../../java/com"]
				exclude "example/*"
			}
			jni.srcDirs = [] // This prevents the auto generation of Android.mk
			jniLibs.srcDir 'libs'  //  where to find the .so file(s)
		}
	}

}

dependencies {
	compile fileTree(dir: 'libs', include: ['*.jar'])
	compile 'com.android.support:appcompat-v7:23.4.0'
}