64 lines
1.4 KiB
Groovy
64 lines
1.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
|
|
repositories {
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
|
|
|
mavenCentral()
|
|
|
|
flatDir {
|
|
dirs "../libraries", "../ethereum-core/libs"
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
apt
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 21
|
|
buildToolsVersion "21.1.2"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 14
|
|
targetSdkVersion 21
|
|
multiDexEnabled true
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude 'META-INF/INDEX.LIST'
|
|
exclude 'META-INF/LICENSE.txt'
|
|
exclude 'META-INF/NOTICE.txt'
|
|
exclude 'LICENSE'
|
|
exclude 'NOTICE'
|
|
}
|
|
dexOptions {
|
|
javaMaxHeapSize "4g"
|
|
}
|
|
|
|
// TODO remove this
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
release {
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':ethereumj-core')
|
|
compile fileTree(include: ['*.jar'], dir: '../libraries')
|
|
//compile 'com.android.support:appcompat-v7:21.0.3'
|
|
compile files('./libs/robospring-1.0.7.jar')
|
|
//compile 'com.litl:android-leveldb:1.0.3@aar'
|
|
//compile "org.slf4j:slf4j-android:1.6.1-RC1"
|
|
compile 'com.android.support:appcompat-v7:22.1.1'
|
|
}
|