mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
741171c49f
1) Since we're not CPU or space constrained (and are in fact padding), and since keystream reuse would be more catastrophic than IV reuse without chosen plaintext.
78 lines
1.8 KiB
Groovy
78 lines
1.8 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:0.12.2'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'android-library'
|
|
apply plugin: 'maven'
|
|
|
|
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:6.1'
|
|
compile 'org.whispersystems:gson:2.2.4'
|
|
|
|
compile project(':libaxolotl')
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 19
|
|
buildToolsVersion '19.1.0'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
|
|
android {
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
java.srcDirs = ['src']
|
|
resources.srcDirs = ['src']
|
|
aidl.srcDirs = ['src']
|
|
renderscript.srcDirs = ['src']
|
|
res.srcDirs = ['res']
|
|
assets.srcDirs = ['assets']
|
|
jniLibs.srcDirs = ['libs']
|
|
}
|
|
androidTest {
|
|
java.srcDirs = ['androidTest/java']
|
|
resources.srcDirs = ['androidTest/java']
|
|
aidl.srcDirs = ['androidTest/java']
|
|
renderscript.srcDirs = ['androidTest/java']
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.whenTaskAdded { task ->
|
|
if (task.name.equals("lint")) {
|
|
task.enabled = false
|
|
}
|
|
}
|
|
|
|
version '0.1'
|
|
group 'org.whispersystems.textsecure'
|
|
archivesBaseName = 'textsecure-library'
|
|
|
|
uploadArchives {
|
|
repositories {
|
|
mavenDeployer {
|
|
repository(url: mavenLocal().getUrl())
|
|
}
|
|
}
|
|
}
|