2015-04-28 17:11:56 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
2015-05-22 19:19:38 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2015-05-29 22:42:03 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:1.2.3'
|
2015-04-28 17:11:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
apt
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 21
|
|
|
|
buildToolsVersion "21.1.2"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 14
|
2015-06-04 14:30:55 +00:00
|
|
|
targetSdkVersion 22
|
2015-04-28 17:11:56 +00:00
|
|
|
multiDexEnabled true
|
2015-06-23 19:36:35 +00:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
2015-04-28 17:11:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/INDEX.LIST'
|
|
|
|
exclude 'META-INF/LICENSE.txt'
|
|
|
|
exclude 'META-INF/NOTICE.txt'
|
|
|
|
exclude 'LICENSE'
|
|
|
|
exclude 'NOTICE'
|
2015-05-14 11:38:26 +00:00
|
|
|
exclude 'META-INF/ASL2.0'
|
|
|
|
exclude 'META-INF/LICENSE'
|
|
|
|
exclude 'META-INF/NOTICE'
|
2015-05-29 22:42:03 +00:00
|
|
|
exclude 'META-INF/services/javax.annotation.processing.Processor'
|
2015-04-28 17:11:56 +00:00
|
|
|
}
|
|
|
|
dexOptions {
|
|
|
|
javaMaxHeapSize "4g"
|
|
|
|
}
|
2015-05-03 04:37:30 +00:00
|
|
|
|
|
|
|
// TODO remove this
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
2015-05-05 22:10:29 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
|
|
|
|
2015-04-28 17:11:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2015-05-29 22:42:03 +00:00
|
|
|
compile project(':ethereumj-core-android')
|
2015-05-05 22:10:29 +00:00
|
|
|
compile 'com.android.support:multidex:1.0.0'
|
2015-04-28 17:11:56 +00:00
|
|
|
compile fileTree(include: ['*.jar'], dir: '../libraries')
|
2015-06-23 19:36:35 +00:00
|
|
|
compile 'com.android.support:support-v4:22.2.0'
|
|
|
|
compile 'com.android.support:appcompat-v7:22.2.0'
|
|
|
|
compile 'com.android.support:recyclerview-v7:22.2.0'
|
|
|
|
|
|
|
|
androidTestCompile 'com.android.support.test:runner:0.3'
|
|
|
|
// Set this dependency to use JUnit 4 rules
|
|
|
|
androidTestCompile 'com.android.support.test:rules:0.3'
|
|
|
|
|
2015-05-05 22:10:29 +00:00
|
|
|
}
|