2013-10-12 10:09:22 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-12-08 22:17:09 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:1.0.0'
|
2013-10-12 10:09:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-21 04:06:09 +00:00
|
|
|
apply plugin: 'com.android.library'
|
2013-10-12 16:09:33 +00:00
|
|
|
apply plugin: 'maven'
|
2013-10-12 10:09:22 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-07-25 22:14:29 +00:00
|
|
|
compile 'com.google.protobuf:protobuf-java:2.5.0'
|
2014-04-24 23:40:54 +00:00
|
|
|
compile 'com.googlecode.libphonenumber:libphonenumber:6.1'
|
2015-01-15 21:35:35 +00:00
|
|
|
compile 'com.fasterxml.jackson.core:jackson-databind:2.5.0'
|
|
|
|
|
2014-12-09 00:07:16 +00:00
|
|
|
compile 'org.whispersystems:axolotl-android:1.0.0'
|
2015-01-26 01:43:24 +00:00
|
|
|
compile 'com.squareup.okhttp:okhttp:2.2.0'
|
2013-10-12 10:09:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2014-11-19 01:01:34 +00:00
|
|
|
compileSdkVersion 21
|
2014-12-12 18:06:15 +00:00
|
|
|
buildToolsVersion '21.1.2'
|
2013-10-12 10:09:22 +00:00
|
|
|
|
2014-04-22 21:33:29 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
2013-10-12 10:09:22 +00:00
|
|
|
}
|
2013-10-12 16:09:33 +00:00
|
|
|
|
2014-04-21 15:40:19 +00:00
|
|
|
tasks.whenTaskAdded { task ->
|
|
|
|
if (task.name.equals("lint")) {
|
|
|
|
task.enabled = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-12 16:09:33 +00:00
|
|
|
version '0.1'
|
|
|
|
group 'org.whispersystems.textsecure'
|
2014-11-12 05:21:09 +00:00
|
|
|
archivesBaseName = 'libtextsecure'
|
2013-10-12 16:09:33 +00:00
|
|
|
|
|
|
|
uploadArchives {
|
|
|
|
repositories {
|
|
|
|
mavenDeployer {
|
|
|
|
repository(url: mavenLocal().getUrl())
|
|
|
|
}
|
|
|
|
}
|
2014-02-19 00:09:53 +00:00
|
|
|
}
|