2013-10-12 03:09:22 -07:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-09-06 15:38:55 -07:00
|
|
|
classpath 'com.android.tools.build:gradle:0.12.2'
|
2013-10-12 03:09:22 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-20 21:06:09 -07:00
|
|
|
apply plugin: 'com.android.library'
|
2013-10-12 09:09:33 -07:00
|
|
|
apply plugin: 'maven'
|
2013-10-12 03:09:22 -07:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url "https://raw.github.com/whispersystems/maven/master/gson/releases/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-07-25 15:14:29 -07:00
|
|
|
compile 'com.google.protobuf:protobuf-java:2.5.0'
|
2013-10-12 03:09:22 -07:00
|
|
|
compile 'com.madgag:sc-light-jdk15on:1.47.0.2'
|
2014-04-24 16:40:54 -07:00
|
|
|
compile 'com.googlecode.libphonenumber:libphonenumber:6.1'
|
2013-11-10 04:15:29 -08:00
|
|
|
compile 'org.whispersystems:gson:2.2.4'
|
2014-04-21 08:40:19 -07:00
|
|
|
|
|
|
|
compile project(':libaxolotl')
|
2013-10-12 03:09:22 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2014-02-18 16:09:53 -08:00
|
|
|
compileSdkVersion 19
|
2014-06-09 23:31:52 -07:00
|
|
|
buildToolsVersion '19.1.0'
|
2013-10-12 03:09:22 -07:00
|
|
|
|
2014-04-22 14:33:29 -07:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
2013-10-12 03:09:22 -07:00
|
|
|
}
|
2013-10-12 09:09:33 -07:00
|
|
|
|
2014-04-21 08:40:19 -07:00
|
|
|
tasks.whenTaskAdded { task ->
|
|
|
|
if (task.name.equals("lint")) {
|
|
|
|
task.enabled = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-12 09:09:33 -07:00
|
|
|
version '0.1'
|
|
|
|
group 'org.whispersystems.textsecure'
|
2014-11-11 21:21:09 -08:00
|
|
|
archivesBaseName = 'libtextsecure'
|
2013-10-12 09:09:33 -07:00
|
|
|
|
|
|
|
uploadArchives {
|
|
|
|
repositories {
|
|
|
|
mavenDeployer {
|
|
|
|
repository(url: mavenLocal().getUrl())
|
|
|
|
}
|
|
|
|
}
|
2014-02-18 16:09:53 -08:00
|
|
|
}
|