From 7208bb0421013c3c41157628033b969e201d3243 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 18 May 2021 15:03:17 +1000 Subject: [PATCH] Fix build --- build.gradle | 2 ++ libsession/build.gradle | 9 ++++++++- libsignal/build.gradle | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index ccdcc74665..4da296022d 100644 --- a/build.gradle +++ b/build.gradle @@ -51,6 +51,8 @@ allprojects { includeGroupByRegex "com\\.goterl\\.lazycode.*" } } + jcenter() + maven { url "https://jitpack.io" } } project.ext { diff --git a/libsession/build.gradle b/libsession/build.gradle index eccf788cb3..1855723bc7 100644 --- a/libsession/build.gradle +++ b/libsession/build.gradle @@ -5,6 +5,11 @@ plugins { android { compileSdkVersion androidCompileSdkVersion + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } } dependencies { @@ -19,6 +24,8 @@ dependencies { androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' implementation 'com.github.bumptech.glide:glide:4.11.0' + implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1' + implementation 'com.annimon:stream:1.1.8' implementation 'com.makeramen:roundedimageview:2.1.0' implementation 'com.esotericsoftware:kryo:4.0.1' implementation "com.google.protobuf:protobuf-java:$protobufVersion" @@ -32,5 +39,5 @@ dependencies { testImplementation "junit:junit:3.8.2" testImplementation "org.assertj:assertj-core:1.7.1" testImplementation "org.conscrypt:conscrypt-openjdk-uber:2.0.0" - + implementation 'org.greenrobot:eventbus:3.0.0' } \ No newline at end of file diff --git a/libsignal/build.gradle b/libsignal/build.gradle index 6e2849c292..5fa6d19ca2 100644 --- a/libsignal/build.gradle +++ b/libsignal/build.gradle @@ -3,6 +3,11 @@ apply plugin: 'kotlin-android' android { compileSdkVersion androidCompileSdkVersion + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } } dependencies {