Make it build

pull/60/head
Tulir Asokan 5 years ago
parent 37ba680d0f
commit 346ddce8d2

@ -37,14 +37,15 @@ dependencies {
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testCompile 'junit:junit:4.12'
testImplementation 'junit:junit:4.12'
implementation(name: 'matrix-sdk', ext: 'aar')
implementation(name: 'olm-sdk', ext: 'aar')
implementation(name: 'matrix-sdk-core', ext: 'aar')
implementation(name: 'matrix-sdk-crypto', ext: 'aar')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.squareup.retrofit2:retrofit:2.4.0'

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -6,9 +6,10 @@ import org.matrix.androidsdk.data.MyUser;
import org.matrix.androidsdk.data.RoomState;
import org.matrix.androidsdk.listeners.IMXEventListener;
import org.matrix.androidsdk.rest.model.Event;
import org.matrix.androidsdk.rest.model.MatrixError;
import org.matrix.androidsdk.core.model.MatrixError;
import org.matrix.androidsdk.rest.model.User;
import org.matrix.androidsdk.rest.model.bingrules.BingRule;
import org.matrix.androidsdk.rest.model.sync.AccountDataElement;
import java.util.List;
@ -52,7 +53,7 @@ public class EventListener implements IMXEventListener {
@Override
public void onLiveEvent(Event event, RoomState roomState) {
if (loaded == true) {
if (loaded) {
// mx.getUnreadEvents();
mx.sendEvent(event);
}
@ -75,12 +76,12 @@ public class EventListener implements IMXEventListener {
}
@Override
public void onEventDecrypted(Event event) {
public void onEventSent(Event event, String s) {
}
@Override
public void onEventSent(Event event, String s) {
public void onEventDecrypted(String s, String s1) {
}
@ -197,7 +198,7 @@ public class EventListener implements IMXEventListener {
}
@Override
public void onAccountDataUpdated() {
public void onAccountDataUpdated(AccountDataElement accountDataElement) {
}
}

@ -25,11 +25,11 @@ import org.matrix.androidsdk.data.store.MXFileStore;
import org.matrix.androidsdk.data.store.MXMemoryStore;
import org.matrix.androidsdk.listeners.IMXEventListener;
import org.matrix.androidsdk.listeners.MXMediaUploadListener;
import org.matrix.androidsdk.rest.callback.SimpleApiCallback;
import org.matrix.androidsdk.core.callback.SimpleApiCallback;
import org.matrix.androidsdk.core.model.MatrixError;
import org.matrix.androidsdk.rest.client.LoginRestClient;
import org.matrix.androidsdk.rest.model.CreatedEvent;
import org.matrix.androidsdk.rest.model.Event;
import org.matrix.androidsdk.rest.model.MatrixError;
import org.matrix.androidsdk.rest.model.message.Message;
import org.matrix.androidsdk.rest.model.login.Credentials;

@ -8,7 +8,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.android.tools.build:gradle:3.5.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.realm:realm-gradle-plugin:5.8.0"

@ -1,6 +1,6 @@
#Sun Jan 27 22:19:41 CET 2019
#Fri Oct 11 22:28:14 EEST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

Loading…
Cancel
Save