From 8a20c46bd4dd965d1e88d4ef850809f23d675edc Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 18 May 2021 14:08:21 +1000 Subject: [PATCH] Fix missing compile target --- app/build.gradle | 2 +- gradle.properties | 3 ++- libsession/build.gradle | 4 ++++ libsession/src/main/AndroidManifest.xml | 5 +---- libsignal/build.gradle | 4 ++++ 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 4a452a07c1..b11416fa8c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -157,7 +157,7 @@ def abiPostFix = ['armeabi-v7a' : 1, 'universal' : 5] android { - compileSdkVersion 30 + compileSdkVersion androidCompileSdkVersion buildToolsVersion '29.0.3' useLibrary 'org.apache.http.legacy' diff --git a/gradle.properties b/gradle.properties index 8ffdbfc909..a017cc9442 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,8 @@ android.useAndroidX=true android.enableJetifier=true org.gradle.jvmargs=-Xmx2048m -kotlinVersion=1.4.20 +androidCompileSdkVersion=30 +kotlinVersion=1.4.32 kovenantVersion=3.3.0 curve25519Version=0.5.0 protobufVersion=2.5.0 diff --git a/libsession/build.gradle b/libsession/build.gradle index 6b2c1853b2..3b487b81cf 100644 --- a/libsession/build.gradle +++ b/libsession/build.gradle @@ -3,6 +3,10 @@ plugins { id 'kotlin-android' } +android { + compileSdkVersion androidCompileSdkVersion +} + dependencies { implementation project(":libsignal") implementation "com.goterl.lazycode:lazysodium-android:4.2.0@aar" diff --git a/libsession/src/main/AndroidManifest.xml b/libsession/src/main/AndroidManifest.xml index 2db4007375..d9af5e1f89 100644 --- a/libsession/src/main/AndroidManifest.xml +++ b/libsession/src/main/AndroidManifest.xml @@ -1,5 +1,2 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/libsignal/build.gradle b/libsignal/build.gradle index b7450a50b0..12ca86a86a 100644 --- a/libsignal/build.gradle +++ b/libsignal/build.gradle @@ -2,6 +2,10 @@ apply plugin: 'com.android.library' apply plugin: 'maven' apply plugin: 'kotlin-android' +android { + compileSdkVersion androidCompileSdkVersion +} + repositories { mavenCentral() }