Skip to content

Commit 7c12ac1

Browse files
committed
Fixed application launch + Removed org.gradle.daemon from gradle.properties
1 parent 1ce7d5c commit 7c12ac1

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

‎app/jni/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ target_compile_definitions(tgvoip PRIVATE
536536
TGVOIP_NO_GROUP_CALLS
537537
TGVOIP_PACKAGE_PATH="org/thunderdog/challegram/voip"
538538
TGVOIP_PEER_TAG_VARIABLE_NAME="peerTag"
539-
TGVOIP_ENDPOINT_CLASS="org/drinkless/td/libcore/telegram/TdApi$CallServer"
539+
TGVOIP_ENDPOINT_CLASS="org/drinkless/tdlib/TdApi$CallServer"
540540

541541
USE_KISS_FFT
542542
WEBRTC_APM_DEBUG_DUMP=0

‎app/src/main/java/org/thunderdog/challegram/unsorted/NLoader.java

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ public static synchronized boolean loadLibrary () {
7373
if (Config.SO_SHARED) {
7474
libraries.add("c++_shared");
7575
}
76+
libraries.add("crypto");
77+
libraries.add("ssl");
7678
libraries.add("tdjni");
7779
libraries.add("leveldbjni");
7880
libraries.add("challegram.23");

‎buildSrc/src/main/kotlin/me/vkryl/plugin/ModulePlugin.kt

+6-4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import com.android.build.gradle.AppExtension
2222
import com.android.build.gradle.BaseExtension
2323
import com.android.build.gradle.LibraryExtension
2424
import com.android.build.gradle.ProguardFiles
25+
import com.android.build.gradle.internal.dsl.BaseAppModuleExtension
2526
import getLongOrThrow
2627
import getOrThrow
2728
import loadProperties
@@ -291,10 +292,11 @@ open class ModulePlugin : Plugin<Project> {
291292
}
292293
}
293294

294-
buildTypes {
295-
lintOptions {
296-
disable("MissingTranslation")
297-
isCheckDependencies = true
295+
if (this is BaseAppModuleExtension) {
296+
// FIXME[gradle]: lint is still not available through AppExtension
297+
lint {
298+
disable += "MissingTranslation"
299+
checkDependencies = true
298300
}
299301
}
300302

‎gradle.properties

-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ android.useAndroidX=true
1616
android.nonFinalResIds=true
1717
android.nonTransitiveRClass=true
1818
org.gradle.jvmargs=-Xms1024m -Xmx8192m -Dkotlin.daemon.jvm.options\="-Xms1024m -Xmx8192M" -Dfile.encoding\=UTF-8
19-
org.gradle.daemon=true
2019
org.gradle.parallel=true
2120
android.defaults.buildfeatures.buildconfig=true

0 commit comments

Comments
 (0)