diff options
author | Moxie Marlinspike <moxie@thoughtcrime.org> | 2014-11-24 12:54:30 -0800 |
---|---|---|
committer | Moxie Marlinspike <moxie@thoughtcrime.org> | 2014-11-24 12:54:30 -0800 |
commit | 60800e155612bea797eed93c67046a23d26054cc (patch) | |
tree | d88368c1c26162e27e790195133ca2b526597afe /build.gradle |
Break out into separate repo.
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle new file mode 100644 index 00000000..2b623a3f --- /dev/null +++ b/build.gradle @@ -0,0 +1,44 @@ +buildscript { + repositories { + mavenCentral() + } + + dependencies { + classpath 'com.android.tools.build:gradle:0.14.2' + } +} + +apply plugin: 'com.android.library' + +repositories { + mavenCentral() +} + +dependencies { + compile 'com.google.protobuf:protobuf-java:2.5.0' +} + +android { + compileSdkVersion 21 + buildToolsVersion '21.1.1' + + 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 + } +}
\ No newline at end of file |