mirror of https://github.com/NekoX-Dev/NekoX.git
upgrade dependencies
This commit is contained in:
parent
9af95477cc
commit
a4aa5f8099
|
@ -72,7 +72,7 @@ def nativeTarget = System.getenv("NATIVE_TARGET")
|
||||||
if (nativeTarget == null) nativeTarget = ""
|
if (nativeTarget == null) nativeTarget = ""
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 31
|
compileSdkVersion 32
|
||||||
buildToolsVersion "31.0.0"
|
buildToolsVersion "31.0.0"
|
||||||
ndkVersion rootProject.ext.ndkVersion
|
ndkVersion rootProject.ext.ndkVersion
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 19
|
minSdkVersion 19
|
||||||
//noinspection ExpiredTargetSdkVersion,OldTargetApi
|
//noinspection ExpiredTargetSdkVersion,OldTargetApi
|
||||||
targetSdkVersion 30
|
targetSdkVersion 32
|
||||||
|
|
||||||
versionName verName
|
versionName verName
|
||||||
versionCode verCode
|
versionCode verCode
|
||||||
|
@ -123,7 +123,7 @@ android {
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
version "3.10.2"
|
version "3.10.2"
|
||||||
arguments "-DANDROID_STL=c++_static", "-DANDROID_PLATFORM=android-16", "-j=${Runtime.getRuntime().availableProcessors()}"
|
arguments "-DANDROID_STL=c++_static", "-DANDROID_PLATFORM=android-16"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,24 +141,6 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
|
||||||
disable "MissingTranslation"
|
|
||||||
disable "ExtraTranslation"
|
|
||||||
disable "BlockedPrivateApi"
|
|
||||||
}
|
|
||||||
|
|
||||||
packagingOptions {
|
|
||||||
|
|
||||||
exclude "/fabric/**"
|
|
||||||
exclude "/META-INF/*.version"
|
|
||||||
exclude "/META-INF/*.kotlin_module"
|
|
||||||
exclude "/META-INF/native-image/**"
|
|
||||||
exclude "/builddef.lst"
|
|
||||||
exclude "/*.txt"
|
|
||||||
exclude "/DebugProbesKt.bin"
|
|
||||||
exclude "/okhttp3/internal/publicsuffix/NOTICE"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
dexOptions {
|
dexOptions {
|
||||||
jumboMode = true
|
jumboMode = true
|
||||||
|
@ -352,7 +334,9 @@ dependencies {
|
||||||
implementation "androidx.interpolator:interpolator:1.0.0"
|
implementation "androidx.interpolator:interpolator:1.0.0"
|
||||||
implementation "androidx.dynamicanimation:dynamicanimation:1.0.0"
|
implementation "androidx.dynamicanimation:dynamicanimation:1.0.0"
|
||||||
implementation "androidx.multidex:multidex:2.0.1"
|
implementation "androidx.multidex:multidex:2.0.1"
|
||||||
implementation "androidx.sharetarget:sharetarget:1.1.0"
|
implementation "androidx.sharetarget:sharetarget:1.2.0"
|
||||||
|
implementation "androidx.emoji2:emoji2:1.2.0"
|
||||||
|
implementation 'androidx.emoji2:emoji2-bundled:1.2.0'
|
||||||
|
|
||||||
compileOnly "org.checkerframework:checker-qual:3.16.0"
|
compileOnly "org.checkerframework:checker-qual:3.16.0"
|
||||||
compileOnly "org.checkerframework:checker-compat-qual:2.5.5"
|
compileOnly "org.checkerframework:checker-compat-qual:2.5.5"
|
||||||
|
@ -363,8 +347,8 @@ dependencies {
|
||||||
|
|
||||||
implementation "com.google.code.gson:gson:2.8.8"
|
implementation "com.google.code.gson:gson:2.8.8"
|
||||||
implementation "org.osmdroid:osmdroid-android:6.1.10"
|
implementation "org.osmdroid:osmdroid-android:6.1.10"
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30"
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21"
|
||||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2"
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1"
|
||||||
|
|
||||||
implementation "com.squareup.okhttp3:okhttp:$okHttpVersion"
|
implementation "com.squareup.okhttp3:okhttp:$okHttpVersion"
|
||||||
implementation 'dnsjava:dnsjava:3.4.1'
|
implementation 'dnsjava:dnsjava:3.4.1'
|
||||||
|
@ -402,7 +386,7 @@ dependencies {
|
||||||
testImplementation "androidx.test:core:1.4.0"
|
testImplementation "androidx.test:core:1.4.0"
|
||||||
testImplementation "org.robolectric:robolectric:4.5.1"
|
testImplementation "org.robolectric:robolectric:4.5.1"
|
||||||
|
|
||||||
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.0"
|
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.2.0"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -411,6 +395,20 @@ apply plugin: "com.google.firebase.crashlytics"
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
||||||
|
|
||||||
|
packagingOptions {
|
||||||
|
jniLibs {
|
||||||
|
excludes += ['/fabric/**', '/META-INF/native-image/**']
|
||||||
|
}
|
||||||
|
resources {
|
||||||
|
excludes += ['/fabric/**', '/META-INF/*.version', '/META-INF/*.kotlin_module', '/META-INF/native-image/**', '/builddef.lst', '/*.txt', '/DebugProbesKt.bin', '/okhttp3/internal/publicsuffix/NOTICE']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
namespace "org.telegram.messenger"
|
||||||
|
lint {
|
||||||
|
disable 'MissingTranslation', 'ExtraTranslation', 'BlockedPrivateApi'
|
||||||
|
}
|
||||||
|
|
||||||
tasks.all { task ->
|
tasks.all { task ->
|
||||||
if (task.name.startsWith("uploadCrashlyticsMappingFile")) {
|
if (task.name.startsWith("uploadCrashlyticsMappingFile")) {
|
||||||
task.enabled = false
|
task.enabled = false
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.telegram.messenger"
|
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
package="org.telegram.messenger"
|
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
<queries>
|
<queries>
|
||||||
|
@ -13,6 +12,7 @@
|
||||||
</intent>
|
</intent>
|
||||||
</queries>
|
</queries>
|
||||||
|
|
||||||
|
|
||||||
<uses-sdk tools:overrideLibrary="io.nekohasekai.ss_rust,io.nekohasekai.ssr_libev" />
|
<uses-sdk tools:overrideLibrary="io.nekohasekai.ss_rust,io.nekohasekai.ssr_libev" />
|
||||||
|
|
||||||
<supports-screens android:anyDensity="true"
|
<supports-screens android:anyDensity="true"
|
||||||
|
@ -99,7 +99,9 @@
|
||||||
<uses-permission android:name="me.everything.badger.permission.BADGE_COUNT_READ"/>
|
<uses-permission android:name="me.everything.badger.permission.BADGE_COUNT_READ"/>
|
||||||
<uses-permission android:name="me.everything.badger.permission.BADGE_COUNT_WRITE"/>
|
<uses-permission android:name="me.everything.badger.permission.BADGE_COUNT_WRITE"/>
|
||||||
<uses-permission android:name="com.android.vending.BILLING"/>
|
<uses-permission android:name="com.android.vending.BILLING"/>
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace" />
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
||||||
|
android:maxSdkVersion="28"
|
||||||
|
tools:node="replace" />
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
||||||
|
|
||||||
|
@ -117,11 +119,11 @@
|
||||||
android:largeHeap="true"
|
android:largeHeap="true"
|
||||||
android:manageSpaceActivity="org.telegram.ui.ExternalActionActivity"
|
android:manageSpaceActivity="org.telegram.ui.ExternalActionActivity"
|
||||||
android:networkSecurityConfig="@xml/network_security_config"
|
android:networkSecurityConfig="@xml/network_security_config"
|
||||||
android:requestLegacyExternalStorage="true"
|
|
||||||
android:preserveLegacyExternalStorage="true"
|
|
||||||
android:roundIcon="@mipmap/ic_launcher"
|
android:roundIcon="@mipmap/ic_launcher"
|
||||||
android:supportsRtl="false"
|
android:supportsRtl="false"
|
||||||
android:theme="@style/Theme.TMessages.Start"
|
android:requestLegacyExternalStorage="true"
|
||||||
|
android:hasFragileUserData="true"
|
||||||
|
android:preserveLegacyExternalStorage="true"
|
||||||
android:allowAudioPlaybackCapture="true"
|
android:allowAudioPlaybackCapture="true"
|
||||||
tools:replace="android:supportsRtl">
|
tools:replace="android:supportsRtl">
|
||||||
|
|
||||||
|
@ -219,7 +221,8 @@
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:windowSoftInputMode="adjustResize">
|
android:windowSoftInputMode="adjustResize"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
@ -300,7 +303,8 @@
|
||||||
<activity-alias
|
<activity-alias
|
||||||
android:name="org.telegram.ui.CallsActivity"
|
android:name="org.telegram.ui.CallsActivity"
|
||||||
android:targetActivity="org.telegram.ui.LaunchActivity"
|
android:targetActivity="org.telegram.ui.LaunchActivity"
|
||||||
android:permission="android.permission.CALL_PHONE">
|
android:permission="android.permission.CALL_PHONE"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW"/>
|
<action android:name="android.intent.action.VIEW"/>
|
||||||
<category android:name="android.intent.category.DEFAULT"/>
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
|
@ -323,7 +327,8 @@
|
||||||
android:windowSoftInputMode="adjustPan"
|
android:windowSoftInputMode="adjustPan"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:stateNotNeeded="true"
|
android:stateNotNeeded="true"
|
||||||
android:theme="@style/Theme.TMessages.Transparent">
|
android:theme="@style/Theme.TMessages.Transparent"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher" android:priority="1">
|
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher" android:priority="1">
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
<category android:name="android.intent.category.BROWSABLE" />
|
||||||
|
@ -335,7 +340,8 @@
|
||||||
android:name="org.telegram.ui.ExternalActionActivity"
|
android:name="org.telegram.ui.ExternalActionActivity"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
||||||
android:windowSoftInputMode="adjustPan">
|
android:windowSoftInputMode="adjustPan"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher">
|
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher">
|
||||||
<action android:name="org.telegram.passport.AUTHORIZE"/>
|
<action android:name="org.telegram.passport.AUTHORIZE"/>
|
||||||
<category android:name="android.intent.category.DEFAULT"/>
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
|
@ -345,7 +351,8 @@
|
||||||
android:name="org.telegram.ui.ChatsWidgetConfigActivity"
|
android:name="org.telegram.ui.ChatsWidgetConfigActivity"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
||||||
android:windowSoftInputMode="adjustPan">
|
android:windowSoftInputMode="adjustPan"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round">
|
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round">
|
||||||
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
@ -354,27 +361,18 @@
|
||||||
android:name="org.telegram.ui.ContactsWidgetConfigActivity"
|
android:name="org.telegram.ui.ContactsWidgetConfigActivity"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
||||||
android:windowSoftInputMode="adjustPan">
|
android:windowSoftInputMode="adjustPan"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round">
|
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round">
|
||||||
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
|
||||||
android:name="org.telegram.ui.ShortcutWidgetConfigActivity"
|
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
|
||||||
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
|
||||||
android:windowSoftInputMode="adjustPan">
|
|
||||||
<intent-filter
|
|
||||||
android:icon="@mipmap/ic_launcher"
|
|
||||||
android:roundIcon="@mipmap/ic_launcher">
|
|
||||||
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
<activity
|
<activity
|
||||||
android:name="org.telegram.ui.FeedWidgetConfigActivity"
|
android:name="org.telegram.ui.FeedWidgetConfigActivity"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
||||||
android:windowSoftInputMode="adjustPan">
|
android:windowSoftInputMode="adjustPan"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter
|
<intent-filter
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:roundIcon="@mipmap/ic_launcher">
|
android:roundIcon="@mipmap/ic_launcher">
|
||||||
|
@ -439,7 +437,8 @@
|
||||||
<!-- </intent-filter>-->
|
<!-- </intent-filter>-->
|
||||||
<!--</receiver>-->
|
<!--</receiver>-->
|
||||||
|
|
||||||
<receiver android:name=".CallReceiver">
|
<receiver android:name=".CallReceiver"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.PHONE_STATE"/>
|
<action android:name="android.intent.action.PHONE_STATE"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
@ -490,13 +489,15 @@
|
||||||
<!-- <action android:name="android.service.notification.NotificationListenerService" />-->
|
<!-- <action android:name="android.service.notification.NotificationListenerService" />-->
|
||||||
<!-- </intent-filter>-->
|
<!-- </intent-filter>-->
|
||||||
<!-- </service>-->
|
<!-- </service>-->
|
||||||
<service android:name=".voip.TelegramConnectionService" android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE">
|
<service android:name=".voip.TelegramConnectionService"
|
||||||
|
android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.telecom.ConnectionService" />
|
<action android:name="android.telecom.ConnectionService" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<receiver android:name=".MusicPlayerReceiver" >
|
<receiver android:name=".MusicPlayerReceiver" android:exported="true" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.telegram.android.musicplayer.close" />
|
<action android:name="org.telegram.android.musicplayer.close" />
|
||||||
<action android:name="org.telegram.android.musicplayer.pause" />
|
<action android:name="org.telegram.android.musicplayer.pause" />
|
||||||
|
@ -513,7 +514,7 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
<receiver android:name=".AppStartReceiver" android:enabled="true">
|
<receiver android:name=".AppStartReceiver" android:enabled="true" android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.telegram.start" />
|
<action android:name="org.telegram.start" />
|
||||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||||
|
@ -526,17 +527,17 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
<receiver android:name=".WearReplyReceiver" android:enabled="true"/>
|
<receiver android:name=".WearReplyReceiver" android:enabled="true" android:exported="false"/>
|
||||||
|
|
||||||
<receiver android:name=".StopLiveLocationReceiver" android:enabled="true"/>
|
<receiver android:name=".StopLiveLocationReceiver" android:enabled="true" android:exported="false"/>
|
||||||
|
|
||||||
<receiver android:name=".PopupReplyReceiver" android:enabled="true"/>
|
<receiver android:name=".PopupReplyReceiver" android:enabled="true" android:exported="false"/>
|
||||||
|
|
||||||
<receiver android:name=".NotificationCallbackReceiver" android:enabled="true" android:exported="false"/>
|
<receiver android:name=".NotificationCallbackReceiver" android:enabled="true" android:exported="false"/>
|
||||||
|
|
||||||
<receiver android:name=".ShareBroadcastReceiver" android:enabled="true"/>
|
<receiver android:name=".ShareBroadcastReceiver" android:enabled="true" android:exported="false"/>
|
||||||
|
|
||||||
<receiver android:name=".CustomTabsCopyReceiver" android:enabled="true"/>
|
<receiver android:name=".CustomTabsCopyReceiver" android:enabled="true" android:exported="false"/>
|
||||||
|
|
||||||
<receiver android:name=".NotificationDismissReceiver" android:exported="false"/>
|
<receiver android:name=".NotificationDismissReceiver" android:exported="false"/>
|
||||||
|
|
||||||
|
@ -587,7 +588,8 @@
|
||||||
android:permission="android.permission.BIND_REMOTEVIEWS"
|
android:permission="android.permission.BIND_REMOTEVIEWS"
|
||||||
android:exported="false" />
|
android:exported="false" />
|
||||||
|
|
||||||
<receiver android:name=".FeedWidgetProvider">
|
<receiver android:name=".FeedWidgetProvider"
|
||||||
|
android:exported="true">
|
||||||
<meta-data android:name="android.appwidget.provider"
|
<meta-data android:name="android.appwidget.provider"
|
||||||
android:resource="@xml/feed_widget_info" />
|
android:resource="@xml/feed_widget_info" />
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
|
@ -6,10 +6,10 @@ buildscript {
|
||||||
maven { url "https://plugins.gradle.org/m2/" }
|
maven { url "https://plugins.gradle.org/m2/" }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:7.0.4'
|
classpath 'com.android.tools.build:gradle:7.3.1'
|
||||||
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30'
|
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21'
|
||||||
classpath 'com.google.gms:google-services:4.3.13'
|
classpath 'com.google.gms:google-services:4.3.14'
|
||||||
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.1'
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
|
||||||
classpath 'gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.9.0'
|
classpath 'gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.9.0'
|
||||||
//noinspection GradleDependency
|
//noinspection GradleDependency
|
||||||
classpath "com.github.triplet.gradle:play-publisher:3.6.0"
|
classpath "com.github.triplet.gradle:play-publisher:3.6.0"
|
||||||
|
|
|
@ -21,4 +21,3 @@ org.gradle.parallel=true
|
||||||
org.gradle.configureondemand=false
|
org.gradle.configureondemand=false
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
android.bundle.enableUncompressedNativeLibs=false
|
|
|
@ -4,14 +4,14 @@ android {
|
||||||
compileSdkVersion 31
|
compileSdkVersion 31
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
versionCode 9
|
// API-Version . minor
|
||||||
versionName '13.0' // API-Version . minor
|
|
||||||
minSdkVersion 19
|
minSdkVersion 19
|
||||||
targetSdkVersion 31
|
targetSdkVersion 31
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
buildToolsVersion '31.0.0'
|
||||||
|
lint {
|
||||||
abortOnError false
|
abortOnError false
|
||||||
}
|
}
|
||||||
buildToolsVersion '31.0.0'
|
namespace 'org.openintents.openpgp'
|
||||||
}
|
}
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
package="org.openintents.openpgp">
|
|
||||||
|
|
||||||
<application/>
|
<application/>
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@ android {
|
||||||
targetSdk = 31
|
targetSdk = 31
|
||||||
}
|
}
|
||||||
buildToolsVersion = "31.0.0"
|
buildToolsVersion = "31.0.0"
|
||||||
|
namespace = "io.nekohasekai.ss_rust"
|
||||||
|
|
||||||
if (targetAbi.isNotBlank()) splits.abi {
|
if (targetAbi.isNotBlank()) splits.abi {
|
||||||
reset()
|
reset()
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
package="io.nekohasekai.ss_rust">
|
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
|
@ -25,8 +25,6 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 19
|
minSdkVersion 19
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
versionCode 1
|
|
||||||
versionName "1.0"
|
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
ndkBuild {
|
ndkBuild {
|
||||||
|
@ -52,5 +50,6 @@ android {
|
||||||
path 'src/main/jni/Android.mk'
|
path 'src/main/jni/Android.mk'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
namespace 'io.nekohasekai.ssr_libev'
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
package="io.nekohasekai.ssr_libev">
|
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
Loading…
Reference in New Issue