2013-10-12 10:09:22 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2013-10-19 17:53:42 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:0.6.1'
|
2013-10-12 10:09:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: '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 {
|
|
|
|
compile 'com.google.protobuf:protobuf-java:2.4.1'
|
|
|
|
compile 'com.madgag:sc-light-jdk15on:1.47.0.2'
|
|
|
|
compile 'com.googlecode.libphonenumber:libphonenumber:5.3'
|
2013-11-10 12:15:29 +00:00
|
|
|
compile 'org.whispersystems:gson:2.2.4'
|
|
|
|
compile fileTree(dir: 'libs', include: 'armeabi.jar')
|
2013-10-12 10:09:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 17
|
|
|
|
buildToolsVersion '17.0.0'
|
|
|
|
|
|
|
|
android {
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
java.srcDirs = ['src']
|
|
|
|
resources.srcDirs = ['src']
|
|
|
|
aild.srcDirs = ['src']
|
|
|
|
renderscript.srcDirs = ['src']
|
|
|
|
res.srcDirs = ['res']
|
|
|
|
assets.srcDirs = ['assets']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-10-12 16:09:33 +00:00
|
|
|
|
|
|
|
version '0.1'
|
|
|
|
group 'org.whispersystems.textsecure'
|
|
|
|
archivesBaseName = 'textsecure-library'
|
|
|
|
|
|
|
|
uploadArchives {
|
|
|
|
repositories {
|
|
|
|
mavenDeployer {
|
|
|
|
repository(url: mavenLocal().getUrl())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|