mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
c38a8aa699
1) Generate a Curve25519 identity key. 2) Use Curve25519 ephemerals and identities for v2 3DHE agreements. 3) Initiate v2 key exchange messages. 4) Accept v1 key exchange messages. 5) TOFU Curve25519 identities.
58 lines
1.3 KiB
Groovy
58 lines
1.3 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:0.6.1'
|
|
}
|
|
}
|
|
|
|
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:5.3'
|
|
compile 'org.whispersystems:gson:2.2.4'
|
|
compile fileTree(dir: 'libs', include: 'armeabi.jar')
|
|
}
|
|
|
|
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']
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
version '0.1'
|
|
group 'org.whispersystems.textsecure'
|
|
archivesBaseName = 'textsecure-library'
|
|
|
|
uploadArchives {
|
|
repositories {
|
|
mavenDeployer {
|
|
repository(url: mavenLocal().getUrl())
|
|
}
|
|
}
|
|
} |