ethereumj-personal/app/build.gradle

68 lines
1.7 KiB
Groovy
Raw Normal View History

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 {
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'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
exclude 'META-INF/services/javax.annotation.processing.Processor'
2015-04-28 17:11:56 +00:00
}
dexOptions {
javaMaxHeapSize "4g"
}
// 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-07-03 23:54:45 +00:00
compile (project(':ethereumj-core-android')) {
exclude group: "org.hibernate", module: "hibernate-core"
}
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
}