session-android/libtextsecure/build.gradle

54 lines
1.0 KiB
Groovy
Raw Normal View History

buildscript {
repositories {
mavenCentral()
}
dependencies {
2014-12-08 22:17:09 +00:00
classpath 'com.android.tools.build:gradle:1.0.0'
}
}
apply plugin: 'com.android.library'
2013-10-12 16:09:33 +00:00
apply plugin: 'maven'
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.protobuf:protobuf-java:2.5.0'
compile 'com.googlecode.libphonenumber:libphonenumber:6.1'
compile 'com.fasterxml.jackson.core:jackson-databind:2.5.0'
compile 'org.whispersystems:axolotl-android:1.0.0'
compile 'com.squareup.okhttp:okhttp:2.2.0'
}
android {
compileSdkVersion 21
2014-12-12 18:06:15 +00:00
buildToolsVersion '21.1.2'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
2013-10-12 16:09:33 +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())
}
}
}