2015-02-27 17:56:33 -08:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.android.tools.build:gradle:1.1.0'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'maven'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
mavenLocal()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'org.whispersystems:axolotl-android:1.1.1'
|
|
|
|
compile (project(':java')) {
|
|
|
|
exclude group: 'org.whispersystems', module: 'axolotl-java'
|
2015-02-27 18:24:48 -08:00
|
|
|
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
|
2015-02-27 17:56:33 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 21
|
|
|
|
buildToolsVersion '21.1.2'
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.whenTaskAdded { task ->
|
|
|
|
if (task.name.equals("lint")) {
|
|
|
|
task.enabled = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
version '0.1'
|
|
|
|
group 'org.whispersystems.textsecure'
|
|
|
|
archivesBaseName = 'libtextsecure'
|
|
|
|
|
|
|
|
uploadArchives {
|
|
|
|
repositories {
|
|
|
|
mavenDeployer {
|
|
|
|
repository(url: mavenLocal().getUrl())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|