mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
8fa2f92a91
// FREEBIE
57 lines
1.1 KiB
Groovy
57 lines
1.1 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:0.14.2'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.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.5.0'
|
|
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 21
|
|
buildToolsVersion '21.1.1'
|
|
|
|
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())
|
|
}
|
|
}
|
|
}
|