-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to v6.3.1 based on NekoBoxForAndroid
- Loading branch information
1 parent
771a2f7
commit 0c1f17e
Showing
5,374 changed files
with
49,633 additions
and
1,348,389 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Shadowsocks-android was originally created in late 2013, by | ||
Max Lv <max.c.lv@gmail.com>. | ||
SagerNet was originally created in late 2021, by | ||
nekohasekai <contact-sagernet@sekai.icu>. | ||
|
||
Here is an inevitably incomplete list of MUCH-APPRECIATED CONTRIBUTORS -- | ||
people who have submitted patches, fixed bugs, added translations, and | ||
generally made shadowsocks-android that much better: | ||
generally made SagerNet that much better: | ||
|
||
https://github.com/shadowsocks/shadowsocks-android/graphs/contributors | ||
https://github.com/SagerNet/SagerNet/graphs/contributors |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
@file:Suppress("UnstableApiUsage") | ||
|
||
plugins { | ||
id("com.android.application") | ||
id("kotlin-android") | ||
id("kotlin-kapt") | ||
id("kotlin-parcelize") | ||
} | ||
|
||
setupApp() | ||
|
||
android { | ||
compileOptions { | ||
isCoreLibraryDesugaringEnabled = true | ||
} | ||
kapt.arguments { | ||
arg("room.incremental", true) | ||
arg("room.schemaLocation", "$projectDir/schemas") | ||
} | ||
bundle { | ||
language { | ||
enableSplit = false | ||
} | ||
} | ||
buildFeatures { | ||
viewBinding = true | ||
} | ||
namespace = "io.nekohasekai.sagernet" | ||
} | ||
|
||
dependencies { | ||
|
||
implementation(fileTree("libs")) | ||
|
||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4") | ||
implementation("androidx.core:core-ktx:1.9.0") | ||
implementation("androidx.recyclerview:recyclerview:1.3.0") | ||
implementation("androidx.activity:activity-ktx:1.7.0") | ||
implementation("androidx.fragment:fragment-ktx:1.5.6") | ||
implementation("androidx.browser:browser:1.5.0") | ||
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0") | ||
implementation("androidx.constraintlayout:constraintlayout:2.1.4") | ||
implementation("androidx.navigation:navigation-fragment-ktx:2.5.3") | ||
implementation("androidx.navigation:navigation-ui-ktx:2.5.3") | ||
implementation("androidx.preference:preference-ktx:1.2.0") | ||
implementation("androidx.appcompat:appcompat:1.6.1") | ||
implementation("androidx.work:work-runtime-ktx:2.8.1") | ||
implementation("androidx.work:work-multiprocess:2.8.1") | ||
|
||
implementation("com.google.android.material:material:1.8.0") | ||
implementation("com.google.code.gson:gson:2.9.0") | ||
|
||
implementation("com.github.jenly1314:zxing-lite:2.1.1") | ||
implementation("com.blacksquircle.ui:editorkit:2.6.0") | ||
implementation("com.blacksquircle.ui:language-base:2.6.0") | ||
implementation("com.blacksquircle.ui:language-json:2.6.0") | ||
|
||
implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.3") | ||
implementation("org.yaml:snakeyaml:1.30") | ||
implementation("com.github.daniel-stoneuk:material-about-library:3.2.0-rc01") | ||
implementation("com.jakewharton:process-phoenix:2.1.2") | ||
implementation("com.esotericsoftware:kryo:5.2.1") | ||
implementation("com.google.guava:guava:31.0.1-android") | ||
implementation("org.ini4j:ini4j:0.5.4") | ||
|
||
implementation("com.simplecityapps:recyclerview-fastscroll:2.0.1") { | ||
exclude(group = "androidx.recyclerview") | ||
exclude(group = "androidx.appcompat") | ||
} | ||
|
||
implementation("androidx.room:room-runtime:2.5.1") | ||
kapt("androidx.room:room-compiler:2.5.1") | ||
implementation("androidx.room:room-ktx:2.5.1") | ||
implementation("com.github.MatrixDev.Roomigrant:RoomigrantLib:0.3.4") | ||
kapt("com.github.MatrixDev.Roomigrant:RoomigrantCompiler:0.3.4") | ||
implementation ("com.google.android.gms:play-services-ads:22.5.0") | ||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.3") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
-repackageclasses '' | ||
-allowaccessmodification | ||
|
||
-keep class io.nekohasekai.sagernet.** { *;} | ||
-keep class moe.matsuri.nb4a.** { *;} | ||
|
||
# Clean Kotlin | ||
-assumenosideeffects class kotlin.jvm.internal.Intrinsics { | ||
static void checkParameterIsNotNull(java.lang.Object, java.lang.String); | ||
static void checkExpressionValueIsNotNull(java.lang.Object, java.lang.String); | ||
static void checkNotNullExpressionValue(java.lang.Object, java.lang.String); | ||
static void checkReturnedValueIsNotNull(java.lang.Object, java.lang.String, java.lang.String); | ||
static void checkReturnedValueIsNotNull(java.lang.Object, java.lang.String); | ||
static void checkFieldIsNotNull(java.lang.Object, java.lang.String, java.lang.String); | ||
static void checkFieldIsNotNull(java.lang.Object, java.lang.String); | ||
static void checkNotNull(java.lang.Object); | ||
static void checkNotNull(java.lang.Object, java.lang.String); | ||
static void checkNotNullParameter(java.lang.Object, java.lang.String); | ||
static void throwUninitializedPropertyAccessException(java.lang.String); | ||
} | ||
|
||
# ini4j | ||
-keep public class org.ini4j.spi.** { <init>(); } | ||
|
||
# SnakeYaml | ||
-keep class org.yaml.snakeyaml.** { *; } | ||
|
||
-dontobfuscate | ||
-keepattributes SourceFile | ||
|
||
-dontwarn java.beans.BeanInfo | ||
-dontwarn java.beans.FeatureDescriptor | ||
-dontwarn java.beans.IntrospectionException | ||
-dontwarn java.beans.Introspector | ||
-dontwarn java.beans.PropertyDescriptor | ||
-dontwarn java.beans.Transient | ||
-dontwarn java.beans.VetoableChangeListener | ||
-dontwarn java.beans.VetoableChangeSupport | ||
-dontwarn org.apache.harmony.xnet.provider.jsse.SSLParametersImpl | ||
-dontwarn org.bouncycastle.jce.provider.BouncyCastleProvider | ||
-dontwarn org.bouncycastle.jsse.BCSSLParameters | ||
-dontwarn org.bouncycastle.jsse.BCSSLSocket | ||
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider | ||
-dontwarn org.openjsse.javax.net.ssl.SSLParameters | ||
-dontwarn org.openjsse.javax.net.ssl.SSLSocket | ||
-dontwarn org.openjsse.net.ssl.OpenJSSE | ||
-dontwarn java.beans.PropertyVetoException |
Oops, something went wrong.