diff --git a/build.gradle b/build.gradle index e69de29..6bd0ad1 100644 --- a/build.gradle +++ b/build.gradle @@ -0,0 +1,60 @@ +buildscript { + repositories { + mavenCentral() + } + + dependencies { + classpath 'com.android.tools.build:gradle:0.12.2' + } +} + +apply plugin: 'com.android.application' + +android { + compileSdkVersion 19 + buildToolsVersion '19.1' + + defaultConfig { + minSdkVersion 9 + targetSdkVersion 19 + } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_7 + targetCompatibility JavaVersion.VERSION_1_7 + } + + packagingOptions { + exclude 'META-INF/LICENSE.txt' + exclude 'META-INF/NOTICE.txt' + } + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + resources.srcDirs = ['src'] + aidl.srcDirs = ['src'] + renderscript.srcDirs = ['src'] + res.srcDirs = ['res'] + assets.srcDirs = ['assets'] + } + } + + lintOptions { + abortOnError false + } + + repositories { + mavenCentral() + mavenLocal() + } + + dependencies { + compile 'com.android.support:support-v4:19.0.+' + compile 'com.madgag.spongycastle:core:1.51.0.0' + compile 'com.madgag.spongycastle:prov:1.51.0.0' + compile 'com.madgag.spongycastle:pkix:1.51.0.0' + compile 'com.madgag.spongycastle:pg:1.51.0.0' + } +}