mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 07:57:30 +00:00
Speed up Gradle sync
This commit is contained in:
parent
8a20c46bd4
commit
7c3bee036c
@ -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"
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
}
|
@ -2,6 +2,7 @@ apply plugin: 'java-gradle-plugin'
|
||||
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -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
|
||||
|
@ -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…
x
Reference in New Issue
Block a user