2013-10-12 10:09:22 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-09-06 22:38:55 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:0.12.2'
|
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()
|
|
|
|
maven {
|
|
|
|
url "https://raw.github.com/whispersystems/maven/master/gson/releases/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-07-25 22:14:29 +00:00
|
|
|
compile 'com.google.protobuf:protobuf-java:2.5.0'
|
2013-10-12 10:09:22 +00:00
|
|
|
compile 'com.madgag:sc-light-jdk15on:1.47.0.2'
|
2014-04-24 23:40:54 +00:00
|
|
|
compile 'com.googlecode.libphonenumber:libphonenumber:6.1'
|
2013-11-10 12:15:29 +00:00
|
|
|
compile 'org.whispersystems:gson:2.2.4'
|
2014-04-21 15:40:19 +00:00
|
|
|
|
|
|
|
compile project(':libaxolotl')
|
2013-10-12 10:09:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2014-02-19 00:09:53 +00:00
|
|
|
compileSdkVersion 19
|
2014-06-10 06:31:52 +00:00
|
|
|
buildToolsVersion '19.1.0'
|
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
|
|
|
}
|