mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-21 12:35:30 +03:00
More progress with AndroidX
This commit is contained in:
parent
f67e221e7a
commit
9f04e40914
5 changed files with 10 additions and 20 deletions
|
@ -40,6 +40,10 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
dexOptions {
|
||||
javaMaxHeapSize "4g"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
|
@ -88,17 +92,13 @@ android {
|
|||
}
|
||||
|
||||
ext {
|
||||
supportLibraryVersion = '27.1.1'
|
||||
supportLibraryVersion = '28.0.0'
|
||||
workVersion = "1.0.0-alpha09"
|
||||
}
|
||||
|
||||
|
||||
configurations.all {
|
||||
exclude group: 'com.google.firebase', module: 'firebase-core'
|
||||
resolutionStrategy {
|
||||
force "com.android.support:cardview-v7:${supportLibraryVersion}"
|
||||
force "com.android.support:preference-v7:${supportLibraryVersion}"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -114,7 +114,7 @@ dependencies {
|
|||
|
||||
implementation "androidx.lifecycle:lifecycle-extensions:2.0.0"
|
||||
|
||||
implementation 'androidx.multidex:multidex:2.0.0'
|
||||
implementation 'com.android.support:multidex:1.0.3'
|
||||
|
||||
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
|
||||
implementation "io.reactivex.rxjava2:rxjava:2.2.2"
|
||||
|
@ -158,9 +158,6 @@ dependencies {
|
|||
implementation 'com.jakewharton:butterknife:9.0.0-SNAPSHOT'
|
||||
annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0-SNAPSHOT'
|
||||
|
||||
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
|
||||
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
|
||||
|
||||
implementation 'com.github.HITGIF:TextFieldBoxes:1.4.3'
|
||||
|
||||
implementation 'eu.davidea:flexible-adapter:5.1.0'
|
||||
|
|
|
@ -43,8 +43,6 @@ import com.nextcloud.talk.utils.DisplayUtils;
|
|||
import com.nextcloud.talk.utils.database.user.UserModule;
|
||||
import com.nextcloud.talk.utils.singletons.ApplicationWideStateHolder;
|
||||
import com.nextcloud.talk.webrtc.MagicWebRTCUtils;
|
||||
import com.squareup.leakcanary.LeakCanary;
|
||||
import com.squareup.leakcanary.RefWatcher;
|
||||
|
||||
import org.webrtc.PeerConnectionFactory;
|
||||
import org.webrtc.voiceengine.WebRtcAudioManager;
|
||||
|
@ -77,10 +75,6 @@ import autodagger.AutoInjector;
|
|||
public class NextcloudTalkApplication extends MultiDexApplication implements LifecycleObserver {
|
||||
private static final String TAG = NextcloudTalkApplication.class.getSimpleName();
|
||||
|
||||
//region Public variables
|
||||
public static RefWatcher refWatcher;
|
||||
//endregion
|
||||
|
||||
//region Singleton
|
||||
protected static NextcloudTalkApplication sharedApplication;
|
||||
//region Fields (components)
|
||||
|
@ -126,7 +120,6 @@ public class NextcloudTalkApplication extends MultiDexApplication implements Lif
|
|||
buildComponent();
|
||||
|
||||
componentApplication.inject(this);
|
||||
refWatcher = LeakCanary.install(this);
|
||||
|
||||
new ClosedInterfaceImpl().providerInstallerInstallIfNeededAsync();
|
||||
DeviceUtils.ignoreSpecialBatteryFeatures();
|
||||
|
|
|
@ -13,7 +13,7 @@ buildscript {
|
|||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.2.0'
|
||||
classpath 'com.android.tools.build:gradle:3.3.0-alpha13'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
org.gradle.jvmargs=-Xmx1536m
|
||||
org.gradle.jvmargs=-XX:MaxHeapSize\=2048m -Xmx2048m
|
||||
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
|
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME
|
|||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
|
||||
distributionSha256Sum=9af7345c199f1731c187c96d3fe3d31f5405192a42046bafa71d846c3d9adacb
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
|
||||
distributionSha256Sum=b7aedd369a26b177147bcb715f8b1fc4fe32b0a6ade0d7fd8ee5ed0c6f731f2c
|
||||
|
|
Loading…
Reference in a new issue