63 lines
1.8 KiB
Groovy
63 lines
1.8 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'com.neenbedankt.android-apt'
|
|
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:1.2.3'
|
|
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 22
|
|
buildToolsVersion "22.0.1"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 14
|
|
targetSdkVersion 22
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile){
|
|
options.warnings = false
|
|
}
|
|
|
|
dependencies {
|
|
apt 'com.google.dagger:dagger-compiler:2.0'
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
compile (project(':ethereumj-core')) {
|
|
exclude group: "org.apache.commons", module: "commons-pool2"
|
|
exclude group: "org.slf4j", module: "slf4j-log4j12"
|
|
exclude group: "org.hibernate", module: "hibernate-core"
|
|
exclude group: "org.hibernate", module: "hibernate-entitymanager"
|
|
exclude group: "redis.clients", module: "jedis"
|
|
exclude group: "org.antlr", module: "antlr4-runtime"
|
|
}
|
|
|
|
//compile "com.google.dagger:dagger:2.1-SNAPSHOT"
|
|
compile "com.j256.ormlite:ormlite-android:4.48"
|
|
compile "org.glassfish:javax.annotation:10.0-b28"
|
|
compile "org.iq80.leveldb:leveldb:0.7"
|
|
compile 'org.slf4j:slf4j-android:1.7.12'
|
|
compile 'javax.persistence:persistence-api:1.0.2'
|
|
|
|
compile group: 'com.thetransactioncompany', name: 'jsonrpc2-server', version: '1.11'
|
|
}
|