2013-10-12 03:09:22 -07:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-06-09 23:31:52 -07:00
|
|
|
classpath 'com.android.tools.build:gradle:0.11.+'
|
2013-10-12 03:09:22 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: '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 {
|
|
|
|
compile 'com.google.protobuf:protobuf-java:2.4.1'
|
|
|
|
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'
|
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
|
|
|
|
|
|
|
android {
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
java.srcDirs = ['src']
|
|
|
|
resources.srcDirs = ['src']
|
2014-02-25 09:35:55 +01:00
|
|
|
aidl.srcDirs = ['src']
|
2013-10-12 03:09:22 -07:00
|
|
|
renderscript.srcDirs = ['src']
|
|
|
|
res.srcDirs = ['res']
|
|
|
|
assets.srcDirs = ['assets']
|
2014-02-25 09:35:55 +01:00
|
|
|
jniLibs.srcDirs = ['libs']
|
2013-10-12 03:09:22 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-10-12 09:09:33 -07:00
|
|
|
|
|
|
|
version '0.1'
|
|
|
|
group 'org.whispersystems.textsecure'
|
|
|
|
archivesBaseName = 'textsecure-library'
|
|
|
|
|
|
|
|
uploadArchives {
|
|
|
|
repositories {
|
|
|
|
mavenDeployer {
|
|
|
|
repository(url: mavenLocal().getUrl())
|
|
|
|
}
|
|
|
|
}
|
2014-02-18 16:09:53 -08:00
|
|
|
}
|