Browse Source

Speed up Gradle sync

pull/545/head
Niels Andriesse 7 months ago
parent
commit
7c3bee036c
  1. 1
      app/build.gradle
  2. 6
      build.gradle
  3. 1
      buildSrc/build.gradle
  4. 1
      gradle.properties
  5. 9
      libsignal/build.gradle

1
app/build.gradle

@ -22,7 +22,6 @@ apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlinx-serialization'
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
exclude module: "commons-logging"
}

6
build.gradle

@ -1,6 +1,5 @@
buildscript {
repositories {
mavenLocal()
google()
mavenCentral()
}
@ -14,6 +13,7 @@ buildscript {
allprojects {
repositories {
mavenCentral()
maven {
url "https://raw.github.com/signalapp/maven/master/photoview/releases/"
content {
@ -52,4 +52,8 @@ allprojects {
}
google()
}
project.ext {
androidCompileSdkVersion = 30
}
}

1
buildSrc/build.gradle

@ -2,6 +2,7 @@ apply plugin: 'java-gradle-plugin'
repositories {
google()
mavenCentral()
}
dependencies {

1
gradle.properties

@ -2,7 +2,6 @@ android.useAndroidX=true
android.enableJetifier=true
org.gradle.jvmargs=-Xmx2048m
androidCompileSdkVersion=30
kotlinVersion=1.4.32
kovenantVersion=3.3.0
curve25519Version=0.5.0

9
libsignal/build.gradle

@ -1,19 +1,10 @@
apply plugin: 'com.android.library'
apply plugin: 'maven'
apply plugin: 'kotlin-android'
android {
compileSdkVersion androidCompileSdkVersion
}
repositories {
mavenCentral()
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
implementation "androidx.annotation:annotation:1.2.0"
implementation "com.google.protobuf:protobuf-java:$protobufVersion"

Loading…
Cancel
Save