Update build.gradle

This commit is contained in:
Niels Andriesse 2019-07-17 11:40:30 +10:00
parent 424998a8ee
commit 8867f3d471

View File

@ -10,9 +10,6 @@ buildscript {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven {
url "https://repo1.maven.org/maven2"
}
} }
dependencies { dependencies {
classpath "com.android.tools.build:gradle:$gradle_version" classpath "com.android.tools.build:gradle:$gradle_version"
@ -27,6 +24,7 @@ apply plugin: 'kotlin-android'
apply plugin: 'witness' apply plugin: 'witness'
repositories { repositories {
mavenLocal()
maven { maven {
url "https://raw.github.com/signalapp/maven/master/photoview/releases/" url "https://raw.github.com/signalapp/maven/master/photoview/releases/"
content { content {
@ -59,7 +57,6 @@ repositories {
} }
google() google()
jcenter() jcenter()
mavenLocal()
maven { maven {
url "https://jitpack.io" url "https://jitpack.io"
} }
@ -102,11 +99,6 @@ dependencies {
implementation 'org.conscrypt:conscrypt-android:2.0.0' implementation 'org.conscrypt:conscrypt-android:2.0.0'
implementation 'org.signal:aesgcmprovider:0.0.3' implementation 'org.signal:aesgcmprovider:0.0.3'
implementation "com.github.loki-project:loki-messenger-android-core:master-SNAPSHOT"
// Jitpack doesn't pull in loki-message-android-core dependencies, so we have to manually copy them ;(
implementation "org.signal:signal-metadata-java:0.0.3"
implementation 'org.whispersystems:webrtc-android:M74' implementation 'org.whispersystems:webrtc-android:M74'
implementation "me.leolin:ShortcutBadger:1.1.16" implementation "me.leolin:ShortcutBadger:1.1.16"
@ -155,10 +147,6 @@ dependencies {
exclude group: 'org.freemarker' exclude group: 'org.freemarker'
} }
implementation "com.googlecode.libphonenumber:libphonenumber:8.10.7"
implementation "com.fasterxml.jackson.core:jackson-databind:2.9.8"
implementation "com.squareup.okhttp3:okhttp:3.12.1"
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
testImplementation 'org.assertj:assertj-core:3.11.1' testImplementation 'org.assertj:assertj-core:3.11.1'
testImplementation 'org.mockito:mockito-core:1.9.5' testImplementation 'org.mockito:mockito-core:1.9.5'
@ -181,6 +169,14 @@ dependencies {
} }
testImplementation 'org.robolectric:robolectric:4.2' testImplementation 'org.robolectric:robolectric:4.2'
testImplementation 'org.robolectric:shadows-multidex:4.2' testImplementation 'org.robolectric:shadows-multidex:4.2'
// Loki
implementation "com.github.loki-project:loki-messenger-android-core:master-SNAPSHOT"
implementation "org.signal:signal-metadata-android:0.0.3"
implementation "com.google.protobuf:protobuf-java:2.5.0"
implementation "com.googlecode.libphonenumber:libphonenumber:8.10.7"
implementation "com.fasterxml.jackson.core:jackson-databind:2.9.8"
implementation "com.squareup.okhttp3:okhttp:3.12.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "nl.komponents.kovenant:kovenant:$kovenant_version" implementation "nl.komponents.kovenant:kovenant:$kovenant_version"
} }