Skip to content
build.gradle 1.19 KiB
Newer Older
Sam Whited's avatar
Sam Whited committed
// Top-level build file where you can add configuration options common to all
// sub-projects/modules.
buildscript {
	repositories {
		jcenter()
		mavenCentral()
	}
	dependencies {
		classpath 'com.android.tools.build:gradle:0.12.2'
	}
Sam Whited's avatar
Sam Whited committed
}

allprojects {
	repositories {
		jcenter()
		mavenCentral()
	}
}

apply plugin: 'android'

repositories {
	mavenCentral()
}

android {
	compileSdkVersion 19
	buildToolsVersion "19.1"

	defaultConfig {
		minSdkVersion 14
		targetSdkVersion 19
		versionCode 32
		versionName "0.8-alpha"
	}

	compileOptions {
		sourceCompatibility JavaVersion.VERSION_1_7
		targetCompatibility JavaVersion.VERSION_1_7
	}
	buildTypes {
		release {
			runProguard true
			proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
		}
		debug {
			runProguard false
			proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
		}
	}
}

dependencies {
	compile project(':minidns')
	compile project(':openpgpapilib')
	compile project(':memorizingTrustManager')
	compile 'com.android.support:support-v13:19.1.0'
	// compile files('libs/bcprov-jdk15on-150.jar')
	// compile files('libs/otr4j-0.10.jar')
	compile fileTree(dir: 'libs', include: ['*.jar'])
Sam Whited's avatar
Sam Whited committed
}