2014-05-01 15:02:46 -07:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-11-18 17:01:34 -08:00
|
|
|
classpath 'com.android.tools.build:gradle:0.14.2'
|
2014-05-01 15:02:46 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-20 21:06:09 -07:00
|
|
|
apply plugin: 'com.android.library'
|
2014-04-21 08:40:19 -07:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-07-05 12:47:01 -07:00
|
|
|
compile 'com.google.protobuf:protobuf-java:2.5.0'
|
2014-04-21 08:40:19 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2014-11-18 17:01:34 -08:00
|
|
|
compileSdkVersion 21
|
|
|
|
buildToolsVersion '21.1.1'
|
2014-04-21 08:40:19 -07:00
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ['libs']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.whenTaskAdded { task ->
|
|
|
|
if (task.name.equals("lint")) {
|
|
|
|
task.enabled = false
|
|
|
|
}
|
|
|
|
}
|